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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/custom_handlers/protocol_handler_registry.h
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.h b/chrome/browser/custom_handlers/protocol_handler_registry.h
index 25de95501759c7a112a54635fe2d440d214ecddd..e8ae9137b9a29e9ca8f90b36f4626aebff609cf7 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry.h
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.h
@@ -22,6 +22,8 @@
#include "net/url_request/url_request_job.h"
#include "net/url_request/url_request_job_factory.h"
+class PrefServiceSyncable;
+
// This is where handlers for protocols registered with
// navigator.registerProtocolHandler() are registered. Each Profile owns an
// instance of this class, which is initialized on browser start through
@@ -191,7 +193,7 @@ class ProtocolHandlerRegistry : public ProfileKeyedService {
virtual void Shutdown() OVERRIDE;
// Registers the preferences that we store registered protocol handlers in.
- static void RegisterPrefs(PrefService* prefService);
+ static void RegisterUserPrefs(PrefServiceSyncable* prefService);
bool enabled() const { return enabled_; }

Powered by Google App Engine
This is Rietveld 408576698