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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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/cocoa/extensions/browser_actions_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
index 5626ac78ed10f01ce24c0bdd20a3b396848e35ca..4f05f5a6af05123a6c9320de5fc712619f90e9e4 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "browser_actions_controller.h"
+#import "chrome/browser/ui/cocoa/extensions/browser_actions_controller.h"
#include <cmath>
#include <string>
@@ -271,7 +271,7 @@ class ExtensionServiceObserverBridge : public content::NotificationObserver,
if (!profile_->GetPrefs()->FindPreference(
prefs::kBrowserActionContainerWidth))
[BrowserActionsController registerUserPrefs:(
- (PrefRegistrySyncable*)
+ (user_prefs::PrefRegistrySyncable*)
profile_->GetPrefs()->DeprecatedGetPrefRegistry())];
observer_.reset(new ExtensionServiceObserverBridge(self, browser_));
@@ -447,10 +447,11 @@ class ExtensionServiceObserverBridge : public content::NotificationObserver,
return YES;
}
-+ (void)registerUserPrefs:(PrefRegistrySyncable*)registry {
- registry->RegisterDoublePref(prefs::kBrowserActionContainerWidth,
- 0,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
++ (void)registerUserPrefs:(user_prefs::PrefRegistrySyncable*)registry {
+ registry->RegisterDoublePref(
+ prefs::kBrowserActionContainerWidth,
+ 0,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
#pragma mark -

Powered by Google App Engine
This is Rietveld 408576698