| Index: extensions/shell/test/shell_apitest.cc
|
| diff --git a/extensions/shell/test/shell_apitest.cc b/extensions/shell/test/shell_apitest.cc
|
| index 4018e9fdd792a7b23d135d242b3910542fcdf3cc..289377fcc1593e3bf65b27667f65dea0b7c74d31 100644
|
| --- a/extensions/shell/test/shell_apitest.cc
|
| +++ b/extensions/shell/test/shell_apitest.cc
|
| @@ -4,12 +4,14 @@
|
|
|
| #include "extensions/shell/test/shell_apitest.h"
|
|
|
| +#include "apps/launcher.h"
|
| #include "base/files/file_path.h"
|
| #include "base/path_service.h"
|
| #include "base/threading/thread_restrictions.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "extensions/browser/extension_registry.h"
|
| #include "extensions/browser/notification_types.h"
|
| +#include "extensions/common/constants.h"
|
| #include "extensions/common/extension_paths.h"
|
| #include "extensions/shell/browser/shell_extension_system.h"
|
| #include "extensions/test/result_catcher.h"
|
| @@ -32,7 +34,8 @@ const Extension* ShellApiTest::LoadApp(const std::string& app_dir) {
|
| if (!extension)
|
| return NULL;
|
|
|
| - extension_system_->LaunchApp(extension->id());
|
| + apps::LaunchPlatformApp(browser_context(), extension,
|
| + extensions::SOURCE_UNTRACKED);
|
|
|
| return extension;
|
| }
|
|
|