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

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

Issue 529293003: Extract ResultCatcher from ExtensionApiTest. Use it in ShellApiTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 3 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
Index: extensions/shell/test/shell_test.cc
diff --git a/extensions/shell/test/shell_test.cc b/extensions/shell/test/shell_test.cc
index e67400db97e5eb0a0dab8520c5ac9bc13624b7ef..294fbaa898705f61c59d047e34d517343f4ef1b2 100644
--- a/extensions/shell/test/shell_test.cc
+++ b/extensions/shell/test/shell_test.cc
@@ -5,7 +5,6 @@
#include "extensions/shell/test/shell_test.h"
#include "base/command_line.h"
-#include "base/files/file_path.h"
#include "base/logging.h"
#include "content/public/common/content_switches.h"
#include "extensions/browser/extension_system.h"
@@ -47,11 +46,4 @@ void AppShellTest::RunTestOnMainThreadLoop() {
ShellDesktopController::instance()->CloseAppWindows();
}
-bool AppShellTest::LoadAndLaunchApp(const base::FilePath& app_dir) {
- bool loaded = extension_system_->LoadApp(app_dir);
- if (loaded)
- extension_system_->LaunchApp();
- return loaded;
-}
-
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698