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/network_state_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: AddServiceWithIPConfig Created 7 years, 9 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_NETWORK_STATE_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 ManagedState::ManagedType type, 165 ManagedState::ManagedType type,
166 const std::string& path, 166 const std::string& path,
167 const base::DictionaryValue& properties) OVERRIDE; 167 const base::DictionaryValue& properties) OVERRIDE;
168 168
169 // Called by ShillPropertyHandler when a watched service property changes. 169 // Called by ShillPropertyHandler when a watched service property changes.
170 virtual void UpdateNetworkServiceProperty( 170 virtual void UpdateNetworkServiceProperty(
171 const std::string& service_path, 171 const std::string& service_path,
172 const std::string& key, 172 const std::string& key,
173 const base::Value& value) OVERRIDE; 173 const base::Value& value) OVERRIDE;
174 174
175 // Sets the IP Address for the network associated with |service_path|.
176 virtual void UpdateNetworkServiceIPAddress(
177 const std::string& service_path,
178 const std::string& ip_address) OVERRIDE;
179
180 // Called by ShillPropertyHandler when a watched device property changes. 175 // Called by ShillPropertyHandler when a watched device property changes.
181 virtual void UpdateDeviceProperty( 176 virtual void UpdateDeviceProperty(
182 const std::string& device_path, 177 const std::string& device_path,
183 const std::string& key, 178 const std::string& key,
184 const base::Value& value) OVERRIDE; 179 const base::Value& value) OVERRIDE;
185 180
186 // Sends NetworkManagerChanged() to observers. 181 // Sends NetworkManagerChanged() to observers.
187 virtual void ManagerPropertyChanged() OVERRIDE; 182 virtual void ManagerPropertyChanged() OVERRIDE;
188 183
189 // Called by |shill_property_handler_| when the service or device list has 184 // Called by |shill_property_handler_| when the service or device list has
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // changes to something other than Connecting (after observers are notified). 239 // changes to something other than Connecting (after observers are notified).
245 // TODO(stevenjb): Move this to NetworkConfigurationHandler. 240 // TODO(stevenjb): Move this to NetworkConfigurationHandler.
246 std::string connecting_network_; 241 std::string connecting_network_;
247 242
248 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); 243 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler);
249 }; 244 };
250 245
251 } // namespace chromeos 246 } // namespace chromeos
252 247
253 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 248 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698