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

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

Issue 642383003: Add the ability to load multiple apps into app_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/browser/shell_native_app_window.cc ('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 b60bf5b1d1fa32adc2a27580c65c7bf355b75895..f1ea7a2fb4774ff664a0c9ffabc85fd160d82188 100644
--- a/extensions/shell/test/shell_apitest.cc
+++ b/extensions/shell/test/shell_apitest.cc
@@ -24,11 +24,11 @@ bool ShellApiTest::RunAppTest(const std::string& app_dir) {
test_data_dir = test_data_dir.AppendASCII(app_dir);
ResultCatcher catcher;
- bool loaded = extension_system_->LoadApp(test_data_dir);
- if (!loaded)
+ const Extension* extension = extension_system_->LoadApp(test_data_dir);
+ if (!extension)
return false;
- extension_system_->LaunchApp();
+ extension_system_->LaunchApp(extension->id());
if (!catcher.GetNextResult()) {
message_ = catcher.message();
« no previous file with comments | « extensions/shell/browser/shell_native_app_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698