From 900225bb03b6a43c309d8baf736470af1f18ec96 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 5 Aug 2016 16:23:31 +0900 Subject: [PATCH] Put definetion of GetCookieableSchemes in .cc to match other methods --- brightray/browser/url_request_context_getter.cc | 4 ++++ brightray/browser/url_request_context_getter.h | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/brightray/browser/url_request_context_getter.cc b/brightray/browser/url_request_context_getter.cc index 46860d79198..ce12bacbc98 100644 --- a/brightray/browser/url_request_context_getter.cc +++ b/brightray/browser/url_request_context_getter.cc @@ -103,6 +103,10 @@ net::SSLConfigService* URLRequestContextGetter::Delegate::CreateSSLConfigService return new net::SSLConfigServiceDefaults; } +std::vector URLRequestContextGetter::Delegate::GetCookieableSchemes() { + return { "http", "https", "ws", "wss" }; +} + URLRequestContextGetter::URLRequestContextGetter( Delegate* delegate, DevToolsNetworkControllerHandle* handle, diff --git a/brightray/browser/url_request_context_getter.h b/brightray/browser/url_request_context_getter.h index dfe233f2831..ed2814c738b 100644 --- a/brightray/browser/url_request_context_getter.h +++ b/brightray/browser/url_request_context_getter.h @@ -47,9 +47,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter { const base::FilePath& base_path); virtual std::unique_ptr CreateCertVerifier(); virtual net::SSLConfigService* CreateSSLConfigService(); - virtual std::vector GetCookieableSchemes() { - return std::vector(); - } + virtual std::vector GetCookieableSchemes(); }; URLRequestContextGetter(