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

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

Issue 14876021: Re-factor network_event_log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address final nits Created 7 years, 7 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 const std::string& service_path, 198 const std::string& service_path,
199 const std::string& key, 199 const std::string& key,
200 const base::Value& value) OVERRIDE; 200 const base::Value& value) OVERRIDE;
201 201
202 // Called by ShillPropertyHandler when a watched device property changes. 202 // Called by ShillPropertyHandler when a watched device property changes.
203 virtual void UpdateDeviceProperty( 203 virtual void UpdateDeviceProperty(
204 const std::string& device_path, 204 const std::string& device_path,
205 const std::string& key, 205 const std::string& key,
206 const base::Value& value) OVERRIDE; 206 const base::Value& value) OVERRIDE;
207 207
208 // Sends NetworkManagerChanged() to observers. 208 // Sends NetworkManagerChanged() to observers and logs an event.
209 virtual void ManagerPropertyChanged() OVERRIDE; 209 virtual void NotifyManagerPropertyChanged() OVERRIDE;
210 210
211 // Called by |shill_property_handler_| when the service or device list has 211 // Called by |shill_property_handler_| when the service or device list has
212 // changed and all entries have been updated. This updates the list and 212 // changed and all entries have been updated. This updates the list and
213 // notifies observers. If |type| == TYPE_NETWORK this also calls 213 // notifies observers. If |type| == TYPE_NETWORK this also calls
214 // CheckDefaultNetworkChanged(). 214 // CheckDefaultNetworkChanged().
215 virtual void ManagedStateListChanged( 215 virtual void ManagedStateListChanged(
216 ManagedState::ManagedType type) OVERRIDE; 216 ManagedState::ManagedType type) OVERRIDE;
217 217
218 // Called in Initialize(). Called explicitly by tests after adding 218 // Called in Initialize(). Called explicitly by tests after adding
219 // test observers. 219 // test observers.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 // Callbacks to run when a scan for the technology type completes. 278 // Callbacks to run when a scan for the technology type completes.
279 ScanCompleteCallbackMap scan_complete_callbacks_; 279 ScanCompleteCallbackMap scan_complete_callbacks_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler); 281 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandler);
282 }; 282 };
283 283
284 } // namespace chromeos 284 } // namespace chromeos
285 285
286 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_H_ 286 #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