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

Unified Diff: mojo/runner/android/background_application_loader_unittest.cc

Issue 1107233002: Move runner stuff into a runner namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 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/android/background_application_loader.cc ('k') | mojo/runner/android/bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/android/background_application_loader_unittest.cc
diff --git a/mojo/runner/android/background_application_loader_unittest.cc b/mojo/runner/android/background_application_loader_unittest.cc
index 4c6f5152935f23d8d14bd21ab0cd0c3443dd70db..19947fe0bedeea31efa4d491baaab877f57b1a35 100644
--- a/mojo/runner/android/background_application_loader_unittest.cc
+++ b/mojo/runner/android/background_application_loader_unittest.cc
@@ -8,15 +8,15 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
-namespace shell {
+namespace runner {
namespace {
-class DummyLoader : public ApplicationLoader {
+class DummyLoader : public shell::ApplicationLoader {
public:
DummyLoader() : simulate_app_quit_(true) {}
~DummyLoader() override {}
- // ApplicationLoader overrides:
+ // shell::ApplicationLoader overrides:
void Load(const GURL& url,
InterfaceRequest<Application> application_request) override {
if (simulate_app_quit_)
@@ -31,7 +31,7 @@ class DummyLoader : public ApplicationLoader {
// Tests that the loader can start and stop gracefully.
TEST(BackgroundApplicationLoaderTest, StartStop) {
- scoped_ptr<ApplicationLoader> real_loader(new DummyLoader());
+ scoped_ptr<shell::ApplicationLoader> real_loader(new DummyLoader());
BackgroundApplicationLoader loader(real_loader.Pass(), "test",
base::MessageLoop::TYPE_DEFAULT);
}
@@ -39,7 +39,7 @@ TEST(BackgroundApplicationLoaderTest, StartStop) {
// Tests that the loader can load a service that is well behaved (quits
// itself).
TEST(BackgroundApplicationLoaderTest, Load) {
- scoped_ptr<ApplicationLoader> real_loader(new DummyLoader());
+ scoped_ptr<shell::ApplicationLoader> real_loader(new DummyLoader());
BackgroundApplicationLoader loader(real_loader.Pass(), "test",
base::MessageLoop::TYPE_DEFAULT);
ApplicationPtr application;
@@ -47,5 +47,5 @@ TEST(BackgroundApplicationLoaderTest, Load) {
}
} // namespace
-} // namespace shell
+} // namespace runner
} // namespace mojo
« no previous file with comments | « mojo/runner/android/background_application_loader.cc ('k') | mojo/runner/android/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698