Chromium Code Reviews| Index: chrome/browser/prefs/pref_service_observer.h |
| diff --git a/chrome/browser/prefs/pref_service_observer.h b/chrome/browser/prefs/pref_service_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5e8e0986d12500562dcb75a7e31bfca57f524d7b |
| --- /dev/null |
| +++ b/chrome/browser/prefs/pref_service_observer.h |
| @@ -0,0 +1,17 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_OBSERVER_H_ |
| +#define CHROME_BROWSER_PREFS_PREF_SERVICE_OBSERVER_H_ |
| + |
| +class PrefServiceObserver { |
| + public: |
| + // Invoked when PrefService::HasSycned() changes. |
|
tim (not reviewing)
2012/10/23 17:24:12
HasSynced
|
| + virtual void OnHasSyncedChanged() = 0; |
| + |
| + protected: |
| + virtual ~PrefServiceObserver() {} |
| +}; |
| + |
| +#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_OBSERVER_H_ |