summaryrefslogtreecommitdiffstats
path: root/chromeos/network/shill_property_util.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 16:57:21 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 16:57:21 +0000
commit14f98c8a71615c9780106f8c3589c4fb7cce60a3 (patch)
treeadd382f23177a612f1cf50263b90b9b50c045456 /chromeos/network/shill_property_util.h
parentb8ce11d5f59e40a124e6b943c12c1bfc01d3fbbc (diff)
downloadchromium_src-14f98c8a71615c9780106f8c3589c4fb7cce60a3.zip
chromium_src-14f98c8a71615c9780106f8c3589c4fb7cce60a3.tar.gz
chromium_src-14f98c8a71615c9780106f8c3589c4fb7cce60a3.tar.bz2
Cleanup network event logging, add to ManagedNetworkConfigurationHandler
I noticed we were getting some ERROR spam when we request properites for networks that are no longer visible, which required some additiona logging to track down (and hopefully make it easier to track down other issues in the future). BUG=none R=pneubeck@chromium.org Review URL: https://codereview.chromium.org/207183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/shill_property_util.h')
-rw-r--r--chromeos/network/shill_property_util.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chromeos/network/shill_property_util.h b/chromeos/network/shill_property_util.h
index ebc7bb3..4ae1df5 100644
--- a/chromeos/network/shill_property_util.h
+++ b/chromeos/network/shill_property_util.h
@@ -31,7 +31,12 @@ CHROMEOS_EXPORT std::string GetSSIDFromProperties(
const base::DictionaryValue& properties,
bool* unknown_encoding);
-// Returns the name for the network represented by the Shill |properties|. For
+// Returns the GUID (if available), SSID, or Name from |properties|. Only used
+// for logging and debugging.
+CHROMEOS_EXPORT std::string GetNetworkIdFromProperties(
+ const base::DictionaryValue& properties);
+
+ // Returns the name for the network represented by the Shill |properties|. For
// WiFi it refers to the HexSSID.
CHROMEOS_EXPORT std::string GetNameFromProperties(
const std::string& service_path,