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

Unified 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: . 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/network/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index a68e33ad1013d4d1cbc955a9461bd7c89e4c493b..78d79a706f162d4e7a6e4d610f7c28d74303e2b3 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -205,8 +205,8 @@ class CHROMEOS_EXPORT NetworkStateHandler
const std::string& key,
const base::Value& value) OVERRIDE;
- // Sends NetworkManagerChanged() to observers.
- virtual void ManagerPropertyChanged() OVERRIDE;
+ // Sends NetworkManagerChanged() to observers and logs an event.
+ virtual void NotifyManagerPropertyChanged() OVERRIDE;
// Called by |shill_property_handler_| when the service or device list has
// changed and all entries have been updated. This updates the list and
@@ -256,6 +256,9 @@ class CHROMEOS_EXPORT NetworkStateHandler
// Returns the technology type for |type|.
std::string GetTechnologyForType(const std::string& type) const;
+ // Returns a log friendly name for the managed state associated with |path|.
+ std::string GetNameFromPath(const std::string& path) const;
+
// Shill property handler instance, owned by this class.
scoped_ptr<internal::ShillPropertyHandler> shill_property_handler_;

Powered by Google App Engine
This is Rietveld 408576698