Index: chrome/browser/ui/browser_ui_prefs.cc |
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc |
index 4091e6e6cad38005e4a6a173c2b8e7842e11eed5..f89dc3a73d5562acb2a20c8aca9ba75996496c6b 100644 |
--- a/chrome/browser/ui/browser_ui_prefs.cc |
+++ b/chrome/browser/ui/browser_ui_prefs.cc |
@@ -5,16 +5,17 @@ |
#include "chrome/browser/ui/browser_ui_prefs.h" |
#include "chrome/browser/first_run/first_run.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/pref_names.h" |
namespace chrome { |
-void RegisterBrowserPrefs(PrefServiceSimple* prefs) { |
- prefs->RegisterIntegerPref(prefs::kOptionsWindowLastTabIndex, 0); |
- prefs->RegisterBooleanPref(prefs::kAllowFileSelectionDialogs, true); |
- prefs->RegisterIntegerPref(prefs::kShowFirstRunBubbleOption, |
+void RegisterBrowserPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterIntegerPref(prefs::kOptionsWindowLastTabIndex, 0); |
+ registry->RegisterBooleanPref(prefs::kAllowFileSelectionDialogs, true); |
+ registry->RegisterIntegerPref(prefs::kShowFirstRunBubbleOption, |
first_run::FIRST_RUN_BUBBLE_DONT_SHOW); |
} |