summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/pref_service_observer.h
blob: d8a9cd071629dd83d8bdb6e59098cd82f49ad9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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::IsSyncing() changes.
  virtual void OnIsSyncingChanged() = 0;

 protected:
  virtual ~PrefServiceObserver() {}
};

#endif  // CHROME_BROWSER_PREFS_PREF_SERVICE_OBSERVER_H_