Put definetion of GetCookieableSchemes in .cc to match other methods

This commit is contained in:
Cheng Zhao 2016-08-05 16:23:31 +09:00
parent 5ecefd298a
commit 900225bb03
2 changed files with 5 additions and 3 deletions

View file

@ -103,6 +103,10 @@ net::SSLConfigService* URLRequestContextGetter::Delegate::CreateSSLConfigService
return new net::SSLConfigServiceDefaults;
}
std::vector<std::string> URLRequestContextGetter::Delegate::GetCookieableSchemes() {
return { "http", "https", "ws", "wss" };
}
URLRequestContextGetter::URLRequestContextGetter(
Delegate* delegate,
DevToolsNetworkControllerHandle* handle,

View file

@ -47,9 +47,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
const base::FilePath& base_path);
virtual std::unique_ptr<net::CertVerifier> CreateCertVerifier();
virtual net::SSLConfigService* CreateSSLConfigService();
virtual std::vector<std::string> GetCookieableSchemes() {
return std::vector<std::string>();
}
virtual std::vector<std::string> GetCookieableSchemes();
};
URLRequestContextGetter(