Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: chrome/browser/ui/ash/networking_config_delegate_chromeos.cc

Issue 2698473007: Convert path usage in NetworkListViewBase subclasses to use guids. (Closed)
Patch Set: Tweak NetworkPortalNotificationControllerTest to create GUIDs for new NetworkStates. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/networking_config_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/networking_config_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/networking_config_delegate_chromeos.cc b/chrome/browser/ui/ash/networking_config_delegate_chromeos.cc
index f7237fabbb31b9fc6f37555ef01b6ecb3662863e..29cbba18ce99de1d2a0c43de6ce424a549ee3feb 100644
--- a/chrome/browser/ui/ash/networking_config_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/networking_config_delegate_chromeos.cc
@@ -26,11 +26,11 @@ NetworkingConfigDelegateChromeos::~NetworkingConfigDelegateChromeos() {
std::unique_ptr<const ash::NetworkingConfigDelegate::ExtensionInfo>
NetworkingConfigDelegateChromeos::LookUpExtensionForNetwork(
- const std::string& service_path) {
+ const std::string& guid) {
chromeos::NetworkStateHandler* handler =
chromeos::NetworkHandler::Get()->network_state_handler();
const chromeos::NetworkState* network_state =
- handler->GetNetworkState(service_path);
+ handler->GetNetworkStateFromGuid(guid);
if (!network_state)
return nullptr;
std::string hex_ssid = network_state->GetHexSsid();
« no previous file with comments | « chrome/browser/ui/ash/networking_config_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698