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

Unified Diff: mojo/runner/in_process_native_runner_unittest.cc

Issue 1342503003: Move fetching logic out of ApplicationManager, eliminate url mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« no previous file with comments | « mojo/runner/desktop/launcher_process.cc ('k') | mojo/runner/native_runner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/in_process_native_runner_unittest.cc
diff --git a/mojo/runner/in_process_native_runner_unittest.cc b/mojo/runner/in_process_native_runner_unittest.cc
index f5e098f344317ef0872d5176e6fd3cfb656f35b7..4b030cf28eb54f41b080cf5099a1f9cf4b43ab05 100644
--- a/mojo/runner/in_process_native_runner_unittest.cc
+++ b/mojo/runner/in_process_native_runner_unittest.cc
@@ -4,6 +4,7 @@
#include "mojo/runner/in_process_native_runner.h"
+#include "base/path_service.h"
#include "mojo/runner/context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -11,7 +12,9 @@ namespace mojo {
namespace runner {
TEST(InProcessNativeRunnerTest, NotStarted) {
- Context context;
+ base::FilePath shell_dir;
+ PathService::Get(base::DIR_MODULE, &shell_dir);
+ Context context(shell_dir);
base::MessageLoop loop;
context.Init();
InProcessNativeRunner runner(&context);
« no previous file with comments | « mojo/runner/desktop/launcher_process.cc ('k') | mojo/runner/native_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698