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/browser/prefs/pref_service.h" | 7 #include "chrome/browser/prefs/pref_service.h" |
8 #include "chrome/common/pref_names.h" | 8 #include "chrome/common/pref_names.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
11 | 11 |
12 void RegisterInvertBubbleUserPrefs(PrefService* prefs) { | 12 void RegisterInvertBubbleUserPrefs(PrefServiceSyncable* prefs) { |
13 prefs->RegisterBooleanPref(prefs::kInvertNotificationShown, | 13 prefs->RegisterBooleanPref(prefs::kInvertNotificationShown, |
14 false, | 14 false, |
15 PrefService::UNSYNCABLE_PREF); | 15 PrefServiceSyncable::UNSYNCABLE_PREF); |
16 } | 16 } |
17 | 17 |
18 } // namespace chrome | 18 } // namespace chrome |
OLD | NEW |