Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2091)

Unified Diff: android_webview/browser/net/aw_url_request_context_getter.h

Issue 18618004: Change BrowserThreadDelegate to run Init() async. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init and InitAsync Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..93d59aa0e4542eec0e877e3edb95526f13ccbfaf 100644
--- a/android_webview/browser/net/aw_url_request_context_getter.h
+++ b/android_webview/browser/net/aw_url_request_context_getter.h
@@ -35,6 +35,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter,
// content::BrowserThreadDelegate implementation.
virtual void Init() OVERRIDE;
+ virtual void InitAsync() OVERRIDE;
virtual void CleanUp() OVERRIDE {}
// net::URLRequestContextGetter implementation.
@@ -58,6 +59,7 @@ class AwURLRequestContextGetter : public net::URLRequestContextGetter,
void PopulateNetworkSessionParams(net::HttpNetworkSession::Params* params);
AwBrowserContext* browser_context_; // weak
+ scoped_refptr<net::CookieStore> cookie_store_;
Kristian Monsen 2013/07/16 20:04:09 It would be nice to be able to avoid creating this
joth 2013/07/16 20:19:52 agree to that -- comment would be good. Or altern
scoped_ptr<net::URLRequestContext> url_request_context_;
scoped_ptr<net::ProxyConfigService> proxy_config_service_;
scoped_ptr<net::URLRequestJobFactory> job_factory_;
« no previous file with comments | « no previous file | android_webview/browser/net/aw_url_request_context_getter.cc » ('j') | chrome/browser/io_thread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698