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

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: 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
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 ManagedState::ManagedType type, 179 ManagedState::ManagedType type,
180 const std::string& path, 180 const std::string& path,
181 const base::DictionaryValue& properties) OVERRIDE; 181 const base::DictionaryValue& properties) OVERRIDE;
182 182
183 // Called by ShillPropertyHandler when a watched service property changes. 183 // Called by ShillPropertyHandler when a watched service property changes.
184 virtual void UpdateNetworkServiceProperty( 184 virtual void UpdateNetworkServiceProperty(
185 const std::string& service_path, 185 const std::string& service_path,
186 const std::string& key, 186 const std::string& key,
187 const base::Value& value) OVERRIDE; 187 const base::Value& value) OVERRIDE;
188 188
189 // Sets the IP Address for the network associated with |service_path|.
190 virtual void UpdateNetworkServiceIPAddress(
191 const std::string& service_path,
192 const std::string& ip_address) OVERRIDE;
193
194 // Called by ShillPropertyHandler when a watched device property changes. 189 // Called by ShillPropertyHandler when a watched device property changes.
195 virtual void UpdateDeviceProperty( 190 virtual void UpdateDeviceProperty(
196 const std::string& device_path, 191 const std::string& device_path,
197 const std::string& key, 192 const std::string& key,
198 const base::Value& value) OVERRIDE; 193 const base::Value& value) OVERRIDE;
199 194
200 // Sends NetworkManagerChanged() to observers. 195 // Sends NetworkManagerChanged() to observers.
201 virtual void ManagerPropertyChanged() OVERRIDE; 196 virtual void ManagerPropertyChanged() OVERRIDE;
202 197
203 // Called by |shill_property_handler_| when the service or device list has 198 // Called by |shill_property_handler_| when the service or device list has
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 261
267 // Callbacks to run when a scan for the technology type completes. 262 // Callbacks to run when a scan for the technology type completes.
268 ScanCompleteCallbackMap scan_complete_callbacks_; 263 ScanCompleteCallbackMap scan_complete_callbacks_;
269 264
270 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); 265 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler);
271 }; 266 };
272 267
273 } // namespace chromeos 268 } // namespace chromeos
274 269
275 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 270 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_state.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698