| Index: chrome/test/chromedriver/chrome/automation_extension.cc
|
| diff --git a/chrome/test/chromedriver/chrome/automation_extension.cc b/chrome/test/chromedriver/chrome/automation_extension.cc
|
| index 1a120a182233919eb7c83f9d288133c8961ce94e..9318930006ed3bda4b9869fcbea5dba99f66e822 100644
|
| --- a/chrome/test/chromedriver/chrome/automation_extension.cc
|
| +++ b/chrome/test/chromedriver/chrome/automation_extension.cc
|
| @@ -103,3 +103,14 @@ Status AutomationExtension::UpdateWindow(
|
| base::TimeDelta::FromSeconds(10),
|
| &result);
|
| }
|
| +
|
| +Status AutomationExtension::LaunchApp(std::string id) {
|
| + base::ListValue args;
|
| + args.AppendString(id);
|
| + scoped_ptr<base::Value> result;
|
| + return web_view_->CallAsyncFunction(std::string(),
|
| + "launchApp",
|
| + args,
|
| + base::TimeDelta::FromSeconds(10),
|
| + &result);
|
| +}
|
|
|