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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 1428353002: Network Setup from Shark to Remora. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 2e7d4b0354b2af2adcb4e623804abb92412a828b..d3e834cfcccc5440e213dbfa30db7146c27e0db7 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -1046,6 +1046,15 @@ bool WizardController::GetUsageStatisticsReporting() const {
return usage_statistics_reporting_;
}
+void WizardController::SetHostNetwork() {
+ if (shark_controller_) {
stevenjb 2015/11/05 23:48:25 if (!shark_controller_) return;
xdai1 2015/11/06 23:23:02 Done.
+ NetworkScreen* network_screen = NetworkScreen::Get(this);
+ const std::string onc_spec = network_screen->GetConnectedWifiNetwork();
+ if (!onc_spec.empty())
+ shark_controller_->SetHostNetwork(onc_spec);
+ }
+}
+
void WizardController::SetHostConfiguration() {
if (shark_controller_) {
NetworkScreen* network_screen = NetworkScreen::Get(this);

Powered by Google App Engine
This is Rietveld 408576698