| Index: chrome/browser/prefs/synced_pref_observer.h
|
| diff --git a/chrome/browser/prefs/synced_pref_observer.h b/chrome/browser/prefs/synced_pref_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..332e5887c22c0a2a098d6de9c5254bd0be13988f
|
| --- /dev/null
|
| +++ b/chrome/browser/prefs/synced_pref_observer.h
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2013 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_SYNCED_PREF_OBSERVER_H_
|
| +#define CHROME_BROWSER_PREFS_SYNCED_PREF_OBSERVER_H_
|
| +
|
| +#include <string>
|
| +
|
| +class SyncedPrefObserver {
|
| + public:
|
| + virtual void OnSyncedPrefChanged(const std::string& path, bool from_sync) = 0;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_PREFS_SYNCED_PREF_OBSERVER_H_
|
|
|