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

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

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor docu-changes. Created 8 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 036a2afdc21ee77b28d50682b008529af36fa770..b4ebf01c28dfcdbea17d88ad416a8f6202f7c4f5 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -18,6 +18,7 @@
#include "chrome/browser/prefs/pref_member.h"
#include "content/public/browser/resource_context.h"
#include "net/cookies/cookie_monster.h"
+#include "net/url_request/url_request_job_factory.h"
class CookieSettings;
class DesktopNotificationService;
@@ -165,7 +166,13 @@ class ProfileIOData {
DesktopNotificationService* notification_service;
#endif
- scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry;
+ // This pointer exists only as a means of conveying a url interceptor
+ // pointer from the protocol handler registry on the UI thread to the
+ // the URLRequestJobFactory on the IO thread. The consumer MUST take
+ // ownership of the object by calling release() on this pointer.
+ scoped_ptr<net::URLRequestJobFactory::Interceptor>
+ protocol_handler_url_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.
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698