Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / syncable_prefs / synced_pref_observer.h
blobb8f387dee7ad87a419ebbf8dd92e7d559f12d42d
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 COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_OBSERVER_H_
6 #define COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_OBSERVER_H_
8 #include <string>
10 namespace syncable_prefs {
12 class SyncedPrefObserver {
13 public:
14 virtual void OnSyncedPrefChanged(const std::string& path, bool from_sync) = 0;
17 } // namespace syncable_prefs
19 #endif // COMPONENTS_SYNCABLE_PREFS_SYNCED_PREF_OBSERVER_H_