shill_property_changed_observer.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
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. 4 5#ifndef CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_ 6#define CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_ 7 8#include <string> 9 10namespace base { 11class Value; 12} 13 14namespace chromeos { 15 16// This is a base class for observers which handle the PropertyChanged signal 17// sent from Shill. 18class ShillPropertyChangedObserver { 19 public: 20 virtual ~ShillPropertyChangedObserver() {} 21 virtual void OnPropertyChanged(const std::string& name, 22 const base::Value& value) = 0; 23}; 24 25} // namespace chromeos 26 27#endif // CHROMEOS_DBUS_SHILL_PROPERTY_CHANGED_OBSERVER_H_ 28