diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-08 00:37:53 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-08 00:37:53 +0000 |
commit | c4512dee3a11073b057d56c110144f06d30d83ae (patch) | |
tree | 23d03dfb534c1688adab0b4233046246f6ce4ece /chromeos/network/network_handler.h | |
parent | fcf46787a2401ba4b624df05bef80fbc7824f2f1 (diff) | |
download | chromium_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_handler.h')
-rw-r--r-- | chromeos/network/network_handler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromeos/network/network_handler.h b/chromeos/network/network_handler.h index e3df697..5499589 100644 --- a/chromeos/network/network_handler.h +++ b/chromeos/network/network_handler.h @@ -27,6 +27,9 @@ class CHROMEOS_EXPORT NetworkHandler { // Sets the global instance. Must be called before any calls to Get(). static void Initialize(); + // Sets the global instance for testing. + static void InitializeForTest(); + // Destroys the global instance. static void Shutdown(); |