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

Unified Diff: mojo/runner/shell_test_base.h

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
Index: mojo/runner/shell_test_base.h
diff --git a/mojo/runner/shell_test_base.h b/mojo/runner/shell_test_base.h
index f7471ae9d0d4ae89720e342fd8e29e61f1bb9024..b5560bca57114c1b1ed8c9837975663f458d9e33 100644
--- a/mojo/runner/shell_test_base.h
+++ b/mojo/runner/shell_test_base.h
@@ -42,13 +42,10 @@ class ShellTestBase : public testing::Test {
}
base::MessageLoop* message_loop() { return &message_loop_; }
- Context* shell_context() { return &shell_context_; }
+ Context* shell_context() { return shell_context_.get(); }
private:
- // Set up the test applications so that mojo: URL resolves to those.
- void SetUpTestApplications();
-
- Context shell_context_;
+ scoped_ptr<Context> shell_context_;
base::MessageLoop message_loop_;
DISALLOW_COPY_AND_ASSIGN(ShellTestBase);

Powered by Google App Engine
This is Rietveld 408576698