[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / extensions / browser_actions_controller_prefs.cc
blob2e153c2f45d6076261d78411ec240b838745a2f3
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
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/cocoa/extensions/browser_actions_controller_prefs.h"
7 #include "components/pref_registry/pref_registry_syncable.h"
8 #include "extensions/browser/pref_names.h"
10 void RegisterBrowserActionsControllerProfilePrefs(
11 user_prefs::PrefRegistrySyncable* registry) {
12 registry->RegisterDoublePref(
13 extensions::pref_names::kBrowserActionContainerWidth,
15 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);