Only fsync leveldb's directory when the manifest is being updated.
[chromium-blink-merge.git] / chromeos / dbus / shill_property_changed_observer.h
blobd27482eb8ecf5c64a70f97096e90a731ed24f314
1 // Copyright (c) 2012 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 CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_
6 #define CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_
8 #include <string>
10 namespace base {
11 class Value;
14 namespace chromeos {
16 // This is a base class for observers which handle the PropertyChanged signal
17 // sent from Shill.
18 class ShillPropertyChangedObserver {
19 public:
20 virtual ~ShillPropertyChangedObserver() {}
21 virtual void OnPropertyChanged(const std::string& name,
22 const base::Value& value) = 0;
25 } // namespace chromeos
27 #endif // CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_