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

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

Issue 2430003002: NetworkConnect::Delegate: service_path -> network_id (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: chrome/browser/ui/ash/system_tray_client.cc
diff --git a/chrome/browser/ui/ash/system_tray_client.cc b/chrome/browser/ui/ash/system_tray_client.cc
index 6d70dff123760a2e5baaa38c8888f5a09c1fa37e..063a93b645017487e88000c0e0096c7c57b9ec40 100644
--- a/chrome/browser/ui/ash/system_tray_client.cc
+++ b/chrome/browser/ui/ash/system_tray_client.cc
@@ -197,13 +197,14 @@ void SystemTrayClient::ShowPublicAccountInfo() {
chrome::ShowPolicy(displayer.browser());
}
-void SystemTrayClient::ShowNetworkConfigure(const std::string& service_path) {
+void SystemTrayClient::ShowNetworkConfigure(const std::string& network_id) {
// TODO(jamescook): Consolidate this with the classic ash version from
// NetworkConnectDelegateChromeOS. This will require moving the window
// container calculation to this class, then plumbing a container ID through
// the dialog code.
CHECK(chrome::IsRunningInMash());
- chromeos::NetworkConfigView::Show(service_path, nullptr /* parent */);
+ chromeos::NetworkConfigView::ShowByNetworkId(network_id,
+ nullptr /* parent */);
}
void SystemTrayClient::ShowNetworkSettings(const std::string& network_id) {
« no previous file with comments | « chrome/browser/ui/ash/network_connect_delegate_chromeos.cc ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698