OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/cocoa/extensions/browser_actions_controller_prefs.h" | 5 #include "chrome/browser/ui/cocoa/extensions/browser_actions_controller_prefs.h" |
6 | 6 |
7 #include "components/user_prefs/pref_registry_syncable.h" | 7 #include "components/pref_registry/pref_registry_syncable.h" |
8 #include "extensions/browser/pref_names.h" | 8 #include "extensions/browser/pref_names.h" |
9 | 9 |
10 void RegisterBrowserActionsControllerProfilePrefs( | 10 void RegisterBrowserActionsControllerProfilePrefs( |
11 user_prefs::PrefRegistrySyncable* registry) { | 11 user_prefs::PrefRegistrySyncable* registry) { |
12 registry->RegisterDoublePref( | 12 registry->RegisterDoublePref( |
13 extensions::pref_names::kBrowserActionContainerWidth, | 13 extensions::pref_names::kBrowserActionContainerWidth, |
14 0, | 14 0, |
15 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); | 15 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
16 } | 16 } |
OLD | NEW |