summaryrefslogtreecommitdiffstats
path: root/chromeos/network/managed_state.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 18:44:28 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 18:44:28 +0000
commitb4e9054376af010e1b27ee57669b9c54d25cfbcc (patch)
tree5e6bd3a86786d612d677f9dcb97711a1dc005ff9 /chromeos/network/managed_state.h
parentaa61fb7124b239850775f142d31f57b48c47eafb (diff)
downloadchromium_src-b4e9054376af010e1b27ee57669b9c54d25cfbcc.zip
chromium_src-b4e9054376af010e1b27ee57669b9c54d25cfbcc.tar.gz
chromium_src-b4e9054376af010e1b27ee57669b9c54d25cfbcc.tar.bz2
Always list EthernetEAP as a Favorite for debugging
Because EthernetEAP is never a visible service, we do not observe it. When it is first created, no properties (including Profile) are set, so it does not appear in the 'Favorite' list and as a result never gets updated. This currently only affects debugging. As a workaround, we always treat EthernetEAP networks as a Favorite, eveb if Profile is empty. Original CL: https://codereview.chromium.org/210433002/ This patch removes a failing test for some unused code (removed both). BUG=355117 TBR=pneubeck@chromium.org Review URL: https://codereview.chromium.org/213853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/managed_state.h')
-rw-r--r--chromeos/network/managed_state.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/network/managed_state.h b/chromeos/network/managed_state.h
index 2cab509..4e7b9fa 100644
--- a/chromeos/network/managed_state.h
+++ b/chromeos/network/managed_state.h
@@ -77,6 +77,8 @@ class CHROMEOS_EXPORT ManagedState {
bool Matches(const NetworkTypePattern& pattern) const;
+ static std::string TypeToString(ManagedType type);
+
protected:
ManagedState(ManagedType type, const std::string& path);