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

Side by Side Diff: base/prefs/public/pref_change_registrar.h

Issue 11243002: Move the bits of Prefs where production code has only trivially easy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, fix gypi problem Created 8 years, 2 months 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
« no previous file with comments | « base/prefs/pref_value_map_unittest.cc ('k') | base/prefs/public/pref_change_registrar.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_API_PREFS_PREF_CHANGE_REGISTRAR_H_ 5 #ifndef BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_
6 #define CHROME_BROWSER_API_PREFS_PREF_CHANGE_REGISTRAR_H_ 6 #define BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 class PrefServiceBase; 13 class PrefServiceBase;
14 14
15 namespace content { 15 namespace content {
16 class NotificationObserver; 16 class NotificationObserver;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 private: 56 private:
57 typedef std::pair<std::string, content::NotificationObserver*> 57 typedef std::pair<std::string, content::NotificationObserver*>
58 ObserverRegistration; 58 ObserverRegistration;
59 59
60 std::set<ObserverRegistration> observers_; 60 std::set<ObserverRegistration> observers_;
61 PrefServiceBase* service_; 61 PrefServiceBase* service_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(PrefChangeRegistrar); 63 DISALLOW_COPY_AND_ASSIGN(PrefChangeRegistrar);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_API_PREFS_PREF_CHANGE_REGISTRAR_H_ 66 #endif // BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_
OLDNEW
« no previous file with comments | « base/prefs/pref_value_map_unittest.cc ('k') | base/prefs/public/pref_change_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698