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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to PrefRegistrySyncable and PrefServiceSyncable to let sync know of pre-registered prefs. 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
Index: chrome/browser/ui/gtk/browser_window_gtk.h
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.h b/chrome/browser/ui/gtk/browser_window_gtk.h
index 5c2204bc3213f336d69e5864d5bb3cebd6732d01..4d9e0c3ebec899289b7462b39ec902330ccbd08c 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.h
+++ b/chrome/browser/ui/gtk/browser_window_gtk.h
@@ -40,7 +40,8 @@ class GlobalMenuBar;
class InfoBarContainerGtk;
class InstantPreviewControllerGtk;
class LocationBar;
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
+class PrefService;
class StatusBubbleGtk;
class TabContentsContainerGtk;
class TabStripGtk;
@@ -247,7 +248,8 @@ class BrowserWindowGtk
// Returns the tab we're currently displaying in the tab contents container.
content::WebContents* GetDisplayedTab();
- static void RegisterUserPrefs(PrefServiceSyncable* prefs);
+ static void RegisterUserPrefs(PrefService* prefs,
+ PrefRegistrySyncable* registry);
// Tells GTK that the toolbar area is invalidated and needs redrawing. We
// have this method as a hack because GTK doesn't queue the toolbar area for

Powered by Google App Engine
This is Rietveld 408576698