summaryrefslogtreecommitdiffstats
path: root/chromeos/network/shill_property_util.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 22:27:35 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 22:27:35 +0000
commit99f17df117531ef31442d7741a7c87e3a8f5d115 (patch)
tree53874e577fbba7ccd0f240152971eff280ec5daa /chromeos/network/shill_property_util.cc
parentc4fd2e44fc4707e539774765ab3c60bdee36bb50 (diff)
downloadchromium_src-99f17df117531ef31442d7741a7c87e3a8f5d115.zip
chromium_src-99f17df117531ef31442d7741a7c87e3a8f5d115.tar.gz
chromium_src-99f17df117531ef31442d7741a7c87e3a8f5d115.tar.bz2
Show all state properties in chrome://network
BUG=353376 Review URL: https://codereview.chromium.org/198703005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/shill_property_util.cc')
-rw-r--r--chromeos/network/shill_property_util.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromeos/network/shill_property_util.cc b/chromeos/network/shill_property_util.cc
index d0d33d3..613478e 100644
--- a/chromeos/network/shill_property_util.cc
+++ b/chromeos/network/shill_property_util.cc
@@ -263,6 +263,20 @@ bool DoIdentifyingPropertiesMatch(const base::DictionaryValue& properties_a,
return identifying_a.Equals(&identifying_b);
}
+bool IsPassphraseKey(const std::string& key) {
+ return key == shill::kEapPrivateKeyPasswordProperty ||
+ key == shill::kEapPasswordProperty ||
+ key == shill::kL2tpIpsecPasswordProperty ||
+ key == shill::kOpenVPNPasswordProperty ||
+ key == shill::kOpenVPNAuthUserPassProperty ||
+ key == shill::kOpenVPNTLSAuthContentsProperty ||
+ key == shill::kPassphraseProperty ||
+ key == shill::kOpenVPNOTPProperty ||
+ key == shill::kEapPrivateKeyProperty ||
+ key == shill::kEapPinProperty ||
+ key == shill::kApnPasswordProperty;
+}
+
} // namespace shill_property_util
namespace {