| 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 983a2d745c0900492ebb323af26421963234af02..ef11169ec18fb64238a387c769db18c2671ad501 100644
|
| --- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc
|
| @@ -592,7 +592,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) {
|
| @@ -1231,7 +1237,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);
|
| }
|
|
|