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

Side by Side Diff: chrome/browser/protector/base_prefs_change.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
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 #ifndef CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_
6 #define CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_ 6 #define CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/api/prefs/pref_change_registrar.h" 11 #include "base/prefs/public/pref_change_registrar.h"
12 #include "chrome/browser/protector/base_setting_change.h" 12 #include "chrome/browser/protector/base_setting_change.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 14
15 namespace protector { 15 namespace protector {
16 16
17 // BaseSettingChange subclass for PrefService-managed settings changes. 17 // BaseSettingChange subclass for PrefService-managed settings changes.
18 class BasePrefsChange : public BaseSettingChange, 18 class BasePrefsChange : public BaseSettingChange,
19 public content::NotificationObserver { 19 public content::NotificationObserver {
20 public: 20 public:
21 BasePrefsChange(); 21 BasePrefsChange();
(...skipping 19 matching lines...) Expand all
41 const content::NotificationDetails& details) OVERRIDE; 41 const content::NotificationDetails& details) OVERRIDE;
42 42
43 PrefChangeRegistrar pref_observer_; 43 PrefChangeRegistrar pref_observer_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(BasePrefsChange); 45 DISALLOW_COPY_AND_ASSIGN(BasePrefsChange);
46 }; 46 };
47 47
48 } // namespace protector 48 } // namespace protector
49 49
50 #endif // CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_ 50 #endif // CHROME_BROWSER_PROTECTOR_BASE_PREFS_CHANGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/protector/protected_prefs_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698