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

Unified Diff: ash/system/chromeos/network/network_connect.cc

Issue 23441025: Clean up NetworkState members (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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: ash/system/chromeos/network/network_connect.cc
diff --git a/ash/system/chromeos/network/network_connect.cc b/ash/system/chromeos/network/network_connect.cc
index 3002856f25c3002af961b850cbc7abc562dbb56e..709b9728de283de74b03e1e665bff8c8da7b264a 100644
--- a/ash/system/chromeos/network/network_connect.cc
+++ b/ash/system/chromeos/network/network_connect.cc
@@ -350,10 +350,8 @@ void ActivateCellular(const std::string& service_path) {
}
if (!IsDirectActivatedCarrier(cellular_device->carrier())) {
// For non direct activation, show the mobile setup dialog which can be
- // used to activate the network. Only show the dialog, if an account
- // management URL is available.
- if (!cellular->payment_url().empty())
stevenjb 2013/09/03 23:23:07 This check shouldn't be necessary; MobileSetupUI s
armansito 2013/09/03 23:52:06 I think the main reason for doing this check here
stevenjb 2013/09/04 00:04:50 Is this a scenario that would ever actually happen
armansito 2013/09/04 00:18:14 Yes, it is actually possible for shill not to show
stevenjb 2013/09/04 01:04:11 I'm not really sure that I understand. It doesn't
armansito 2013/09/04 01:35:31 Yes, I agree that this shouldn't be cached. We can
- ShowMobileSetup(service_path);
+ // used to activate the network.
+ ShowMobileSetup(service_path);
return;
}
if (cellular->activation_state() == flimflam::kActivationStateActivated) {

Powered by Google App Engine
This is Rietveld 408576698