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

Unified Diff: extensions/shell/test/shell_apitest.cc

Issue 2859423003: Remove ShellExtensionSystem::LaunchApp
Patch Set: Created 3 years, 7 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
« no previous file with comments | « extensions/shell/test/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « extensions/shell/test/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698