1 // Copyright (c) 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. 4 5 #ifndef CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_ 7 8 #include <string> 9 10 #include "base/basictypes.h" 11 12 namespace chromeos { 13 14 struct NetworkProfile; 15 16 class NetworkProfileObserver { 17 public: 18 virtual void OnProfileAdded(const NetworkProfile& profile) = 0; 19 virtual void OnProfileRemoved(const NetworkProfile& profile) = 0; 20 21 protected: 22 virtual ~NetworkProfileObserver() {} 23 24 private: 25 DISALLOW_ASSIGN(NetworkProfileObserver); 26 }; 27 28 } // namespace chromeos 29 30 #endif // CHROMEOS_NETWORK_NETWORK_PROFILE_OBSERVER_H_ 31