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

Unified Diff: chrome/browser/translate/translate_prefs.h

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again; base::File changes conflicted. Created 7 years, 10 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/themes/theme_service_factory.cc ('k') | chrome/browser/translate/translate_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_prefs.h
diff --git a/chrome/browser/translate/translate_prefs.h b/chrome/browser/translate/translate_prefs.h
index 0cb7d8b7ce7934d794ece54a4413399bcb4eec4c..0adf370d6bcbfe635a16d7a5cdf08fc2181b7447 100644
--- a/chrome/browser/translate/translate_prefs.h
+++ b/chrome/browser/translate/translate_prefs.h
@@ -9,8 +9,8 @@
#include "googleurl/src/gurl.h"
+class PrefRegistrySyncable;
class PrefService;
-class PrefServiceSyncable;
namespace base {
class DictionaryValue;
@@ -60,7 +60,8 @@ class TranslatePrefs {
const std::string& original_language, const GURL& url);
static bool ShouldAutoTranslate(PrefService* user_prefs,
const std::string& original_language, std::string* target_language);
- static void RegisterUserPrefs(PrefServiceSyncable* user_prefs);
+ static void RegisterUserPrefs(PrefService* prefs,
+ PrefRegistrySyncable* registry);
private:
static void MigrateTranslateWhitelists(PrefService* user_prefs);
« no previous file with comments | « chrome/browser/themes/theme_service_factory.cc ('k') | chrome/browser/translate/translate_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698