| Index: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| index a74f299c0fc18cca6024b44f59bfe4a42ae9affd..52470a36dd0ca4a8403c79919543c155abedd4d8 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| @@ -578,7 +578,13 @@ void InternetOptionsHandler::ShowMorePlanInfoCallback(const ListValue* args) {
|
| void InternetOptionsHandler::BuyDataPlanCallback(const ListValue* args) {
|
| if (!web_ui())
|
| return;
|
| - ash::Shell::GetInstance()->delegate()->OpenMobileSetup();
|
| +
|
| + std::string service_path;
|
| + if (args->GetSize() != 1 || !args->GetString(0, &service_path)) {
|
| + NOTREACHED();
|
| + return;
|
| + }
|
| + ash::Shell::GetInstance()->delegate()->OpenMobileSetup(service_path);
|
| }
|
|
|
| void InternetOptionsHandler::SetApnCallback(const ListValue* args) {
|
| @@ -1211,7 +1217,7 @@ void InternetOptionsHandler::HandleCellularButtonClick(
|
| } else if (command == "disconnect") {
|
| cros_->DisconnectFromNetwork(cellular);
|
| } else if (command == "activate") {
|
| - ash::Shell::GetInstance()->delegate()->OpenMobileSetup();
|
| + ash::Shell::GetInstance()->delegate()->OpenMobileSetup(service_path);
|
| } else if (command == "options") {
|
| PopulateDictionaryDetails(cellular);
|
| }
|
|
|