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

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

Issue 12789006: base/prefs: Remove the public/ directory and move the files to //base/prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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/mock_pref_change_callback.h ('k') | base/prefs/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 BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_ 5 #ifndef BASE_PREFS_PREF_CHANGE_REGISTRAR_H_
6 #define BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_ 6 #define BASE_PREFS_PREF_CHANGE_REGISTRAR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/prefs/base_prefs_export.h" 13 #include "base/prefs/base_prefs_export.h"
14 #include "base/prefs/pref_observer.h" 14 #include "base/prefs/pref_observer.h"
15 15
16 class PrefService; 16 class PrefService;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const std::string& pref_name); 70 const std::string& pref_name);
71 71
72 typedef std::map<std::string, NamedChangeCallback> ObserverMap; 72 typedef std::map<std::string, NamedChangeCallback> ObserverMap;
73 73
74 ObserverMap observers_; 74 ObserverMap observers_;
75 PrefService* service_; 75 PrefService* service_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(PrefChangeRegistrar); 77 DISALLOW_COPY_AND_ASSIGN(PrefChangeRegistrar);
78 }; 78 };
79 79
80 #endif // BASE_PREFS_PUBLIC_PREF_CHANGE_REGISTRAR_H_ 80 #endif // BASE_PREFS_PREF_CHANGE_REGISTRAR_H_
OLDNEW
« no previous file with comments | « base/prefs/mock_pref_change_callback.h ('k') | base/prefs/pref_change_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698