Index: android_webview/browser/net/aw_url_request_context_getter.h |
diff --git a/android_webview/browser/net/aw_url_request_context_getter.h b/android_webview/browser/net/aw_url_request_context_getter.h |
index 418e921f2cdc94b6229e603715eeb7b2a2b23d80..5d38f170a7a16fa80a6b41136ea366432aa40be5 100644 |
--- a/android_webview/browser/net/aw_url_request_context_getter.h |
+++ b/android_webview/browser/net/aw_url_request_context_getter.h |
@@ -33,6 +33,10 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter, |
void InitializeOnNetworkThread(); |
+ // must be called prior to Init() and contain the minimum amount of code |
awong
2013/07/11 20:43:48
Please use correct capitalization and punctuation
|
+ // that needs to happen synchronously to UI initialization |
+ void InitializeOnUiThread(); |
+ |
// content::BrowserThreadDelegate implementation. |
virtual void Init() OVERRIDE; |
virtual void CleanUp() OVERRIDE {} |
@@ -58,6 +62,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter, |
void PopulateNetworkSessionParams(net::HttpNetworkSession::Params* params); |
AwBrowserContext* browser_context_; // weak |
+ scoped_refptr<net::CookieStore> cookie_store_; |
scoped_ptr<net::URLRequestContext> url_request_context_; |
scoped_ptr<net::ProxyConfigService> proxy_config_service_; |
scoped_ptr<net::URLRequestJobFactory> job_factory_; |