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

Side by Side Diff: chrome/browser/prefs/pref_notifier.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « chrome/browser/prefs/pref_model_associator.h ('k') | chrome/browser/prefs/pref_notifier_impl.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_H_ 5 #ifndef CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_
6 #define CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_ 6 #define CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 // Delegate interface used by PrefValueStore to notify its owner about changes 10 // Delegate interface used by PrefValueStore to notify its owner about changes
12 // to the preference values. 11 // to the preference values.
13 // TODO(mnissler, danno): Move this declaration to pref_value_store.h once we've 12 // TODO(mnissler, danno): Move this declaration to pref_value_store.h once we've
14 // cleaned up all public uses of this interface. 13 // cleaned up all public uses of this interface.
15 class PrefNotifier { 14 class PrefNotifier {
16 public: 15 public:
17 virtual ~PrefNotifier() {} 16 virtual ~PrefNotifier() {}
18 17
19 // Sends out a change notification for the preference identified by 18 // Sends out a change notification for the preference identified by
20 // |pref_name|. 19 // |pref_name|.
21 virtual void OnPreferenceChanged(const std::string& pref_name) = 0; 20 virtual void OnPreferenceChanged(const std::string& pref_name) = 0;
22 21
23 // Broadcasts the intialization completed notification. 22 // Broadcasts the intialization completed notification.
24 virtual void OnInitializationCompleted(bool succeeded) = 0; 23 virtual void OnInitializationCompleted(bool succeeded) = 0;
25 }; 24 };
26 25
27 #endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_ 26 #endif // CHROME_BROWSER_PREFS_PREF_NOTIFIER_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/pref_model_associator.h ('k') | chrome/browser/prefs/pref_notifier_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698