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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 10912132: Move ProxyConfigService construction onto the IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra blank line Created 8 years, 2 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: chrome/browser/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 65a94f6b17a34114cf390b1a153695cc3d7d67ca..e255875caf8da9b4e4b0a889c5d40134d8557c72 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -206,10 +206,8 @@ class ProfileIOData {
scoped_ptr<net::URLRequestJobFactory::Interceptor>
protocol_handler_interceptor;
- // We need to initialize the ProxyConfigService from the UI thread
- // because on linux it relies on initializing things through gconf,
- // and needs to be on the main thread.
- scoped_ptr<net::ProxyConfigService> proxy_config_service;
+ // Used on the UI thread to return a pointer to the Profile.
willchan no longer on Chromium 2012/10/19 18:06:36 This is too powerful. We should try to keep the sc
pauljensen 2012/10/19 22:34:28 Sorry, I was just copying how ChromeCookieMonsterD
+ base::Callback<Profile*(void)> profile_getter;
// The profile this struct was populated from. It's passed as a void* to
// ensure it's not accidently used on the IO thread. Before using it on the
// UI thread, call ProfileManager::IsValidProfile to ensure it's alive.

Powered by Google App Engine
This is Rietveld 408576698