summaryrefslogtreecommitdiffstats
path: root/chromeos/network/network_state.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 00:37:53 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 00:37:53 +0000
commitc4512dee3a11073b057d56c110144f06d30d83ae (patch)
tree23d03dfb534c1688adab0b4233046246f6ce4ece /chromeos/network/network_state.h
parentfcf46787a2401ba4b624df05bef80fbc7824f2f1 (diff)
downloadchromium_src-c4512dee3a11073b057d56c110144f06d30d83ae.zip
chromium_src-c4512dee3a11073b057d56c110144f06d30d83ae.tar.gz
chromium_src-c4512dee3a11073b057d56c110144f06d30d83ae.tar.bz2
Configure networks requiring a certificate.
The current flow does not guarantee that a configured network will have its tpm / pkcs11 credentials configured. We need to set these properties in order to reliably connect to networks requiring certificates. The patch also includes some minor changes to improve error reporting and configuration triggering for failure cases. BUG=247104 For /wifi_data_provider_chromeos_unittest.cc: TBR=joth@chromium.org Review URL: https://chromiumcodereview.appspot.com/16512003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/network_state.h')
-rw-r--r--chromeos/network/network_state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
index 31ea5f9..e87cba6 100644
--- a/chromeos/network/network_state.h
+++ b/chromeos/network/network_state.h
@@ -35,6 +35,10 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
// stored.
void GetProperties(base::DictionaryValue* dictionary) const;
+ // Fills |dictionary| with the state properties required to configure a
+ // network.
+ void GetConfigProperties(base::DictionaryValue* dictionary) const;
+
// Accessors
const std::string& security() const { return security_; }
const std::string& ip_address() const { return ip_address_; }