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

Unified Diff: mojo/services/test_service/test_service_impl.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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/services/test_service/test_service_impl.h
diff --git a/mojo/services/test_service/test_service_impl.h b/mojo/services/test_service/test_service_impl.h
index ca59e56ef45cf91f50b8b566af24dc1fb84a550c..f96da3cfdad4ce2da4d50ef3e41486bd6d1c5e2a 100644
--- a/mojo/services/test_service/test_service_impl.h
+++ b/mojo/services/test_service/test_service_impl.h
@@ -13,7 +13,7 @@
#include "mojo/services/test_service/test_service.mojom.h"
namespace mojo {
-class ApplicationImpl;
+class Shell;
namespace test {
class TrackedService;
@@ -21,7 +21,7 @@ class TestServiceApplication;
class TestServiceImpl : public TestService {
public:
- TestServiceImpl(ApplicationImpl* app_impl,
+ TestServiceImpl(Shell* shell,
TestServiceApplication* application,
InterfaceRequest<TestService> request);
~TestServiceImpl() override;
@@ -35,7 +35,7 @@ class TestServiceImpl : public TestService {
private:
TestServiceApplication* const application_;
- ApplicationImpl* const app_impl_;
+ Shell* const shell_;
TestTimeServicePtr time_service_;
scoped_ptr<TrackedService> tracking_;
StrongBinding<TestService> binding_;
« no previous file with comments | « mojo/services/test_service/test_service_application.cc ('k') | mojo/services/test_service/test_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698