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

Side by Side Diff: chrome/browser/accessibility/invert_bubble_prefs.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698