OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/accessibility/invert_bubble_prefs.h" | 5 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
6 | 6 |
7 #include "chrome/common/pref_names.h" | 7 #include "chrome/common/pref_names.h" |
8 #include "components/pref_registry/pref_registry_syncable.h" | 8 #include "components/pref_registry/pref_registry_syncable.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
11 | 11 |
12 void RegisterInvertBubbleUserPrefs(user_prefs::PrefRegistrySyncable* registry) { | 12 void RegisterInvertBubbleUserPrefs(user_prefs::PrefRegistrySyncable* registry) { |
13 registry->RegisterBooleanPref( | 13 registry->RegisterBooleanPref(prefs::kInvertNotificationShown, false); |
14 prefs::kInvertNotificationShown, | |
15 false, | |
16 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); | |
17 } | 14 } |
18 | 15 |
19 } // namespace chrome | 16 } // namespace chrome |
OLD | NEW |