Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: chromeos/network/shill_property_handler.h

Issue 12634019: NetworkChangeNotifierChromeos: Handle IPConfig property changes on the default network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_
6 #define CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ 6 #define CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Called when a property for a watched device has changed. 65 // Called when a property for a watched device has changed.
66 virtual void UpdateDeviceProperty( 66 virtual void UpdateDeviceProperty(
67 const std::string& device_path, 67 const std::string& device_path,
68 const std::string& key, 68 const std::string& key,
69 const base::Value& value) = 0; 69 const base::Value& value) = 0;
70 70
71 // Called when one or more manager properties (e.g. a technology list) 71 // Called when one or more manager properties (e.g. a technology list)
72 // changes. 72 // changes.
73 virtual void ManagerPropertyChanged() = 0; 73 virtual void ManagerPropertyChanged() = 0;
74 74
75 // Called whent the IP address of a service has been updated. Occurs after
76 // UpdateManagedStateProperties is called for the service.
77 virtual void UpdateNetworkServiceIPAddress(
78 const std::string& service_path,
79 const std::string& ip_address) = 0;
80
81 // Called when a managed state list has changed, after properties for any 75 // Called when a managed state list has changed, after properties for any
82 // new entries in the list have been received and 76 // new entries in the list have been received and
83 // UpdateManagedStateProperties has been called for each new entry. 77 // UpdateManagedStateProperties has been called for each new entry.
84 virtual void ManagedStateListChanged(ManagedState::ManagedType type) = 0; 78 virtual void ManagedStateListChanged(ManagedState::ManagedType type) = 0;
85 79
86 protected: 80 protected:
87 virtual ~Listener() {} 81 virtual ~Listener() {}
88 }; 82 };
89 83
90 explicit ShillPropertyHandler(Listener* listener); 84 explicit ShillPropertyHandler(Listener* listener);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 std::set<std::string> enabled_technologies_; 182 std::set<std::string> enabled_technologies_;
189 std::set<std::string> uninitialized_technologies_; 183 std::set<std::string> uninitialized_technologies_;
190 184
191 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler); 185 DISALLOW_COPY_AND_ASSIGN(ShillPropertyHandler);
192 }; 186 };
193 187
194 } // namespace internal 188 } // namespace internal
195 } // namespace chromeos 189 } // namespace chromeos
196 190
197 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_ 191 #endif // CHROMEOS_NETWORK_SHILL_PROPERTY_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler_unittest.cc ('k') | chromeos/network/shill_property_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698