ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / prefs / synced_pref_observer.h
blob332e5887c22c0a2a098d6de9c5254bd0be13988f
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PREFS_SYNCED_PREF_OBSERVER_H_
6 #define CHROME_BROWSER_PREFS_SYNCED_PREF_OBSERVER_H_
8 #include <string>
10 class SyncedPrefObserver {
11 public:
12 virtual void OnSyncedPrefChanged(const std::string& path, bool from_sync) = 0;
15 #endif // CHROME_BROWSER_PREFS_SYNCED_PREF_OBSERVER_H_