summaryrefslogtreecommitdiffstats
path: root/chromeos/network/client_cert_resolver.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-16 21:48:35 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-16 21:48:35 +0000
commit164da42873b70ce025199d15a870ca4650534ac5 (patch)
treea05626c399ecadae950b388e06972a7777d189c7 /chromeos/network/client_cert_resolver.cc
parentb8787eab8e2ad5ecf3e2a8c0db10c6305ce9e448 (diff)
downloadchromium_src-164da42873b70ce025199d15a870ca4650534ac5.zip
chromium_src-164da42873b70ce025199d15a870ca4650534ac5.tar.gz
chromium_src-164da42873b70ce025199d15a870ca4650534ac5.tar.bz2
Use GUID instead of ServicePath in networkingPrivate API
Currently we pass the service path of networks as the "GUID" in the networkingPrivate implementation on Chrome OS. We should be using the actual GUID (if one exists) or create a GUID if one does not. Note: This change should not break any existing usage since the GUID value should be transparant to the implementation. (This will have the positive side effect of making the GUID consistent across sessions). BUG=284827 For fake_wifi_service.cc: R=asargent@chromium.org, pneubeck@chromium.org TBR=mef@chromium.org Review URL: https://codereview.chromium.org/275543005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network/client_cert_resolver.cc')
-rw-r--r--chromeos/network/client_cert_resolver.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromeos/network/client_cert_resolver.cc b/chromeos/network/client_cert_resolver.cc
index dd66e94..32f7ed7 100644
--- a/chromeos/network/client_cert_resolver.cc
+++ b/chromeos/network/client_cert_resolver.cc
@@ -344,7 +344,8 @@ void ClientCertResolver::PolicyApplied(const std::string& service_path) {
return;
// Compare this network with all certificates.
const FavoriteState* network =
- network_state_handler_->GetFavoriteState(service_path);
+ network_state_handler_->GetFavoriteStateFromServicePath(
+ service_path, true /* configured_only */);
if (!network) {
LOG(ERROR) << "service path '" << service_path << "' unknown.";
return;