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

Side by Side Diff: chrome/browser/prefs/pref_notifier_impl.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, 1 month 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 | « chrome/browser/prefs/pref_notifier.h ('k') | chrome/browser/prefs/pref_service.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PREFS_PREF_NOTIFIER_IMPL_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
6 #define CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_ 6 #define CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "base/prefs/pref_notifier.h"
12 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
13 #include "chrome/browser/prefs/pref_notifier.h"
14 14
15 class PrefService; 15 class PrefService;
16 16
17 namespace content { 17 namespace content {
18 class NotificationObserver; 18 class NotificationObserver;
19 } 19 }
20 20
21 // The PrefNotifier implementation used by the PrefService. 21 // The PrefNotifier implementation used by the PrefService.
22 class PrefNotifierImpl : public PrefNotifier, 22 class PrefNotifierImpl : public PrefNotifier,
23 public base::NonThreadSafe { 23 public base::NonThreadSafe {
(...skipping 30 matching lines...) Expand all
54 54
55 // Weak reference; the notifier is owned by the PrefService. 55 // Weak reference; the notifier is owned by the PrefService.
56 PrefService* pref_service_; 56 PrefService* pref_service_;
57 57
58 PrefObserverMap pref_observers_; 58 PrefObserverMap pref_observers_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl); 60 DISALLOW_COPY_AND_ASSIGN(PrefNotifierImpl);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_ 63 #endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_notifier.h ('k') | chrome/browser/prefs/pref_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698