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

Unified Diff: services/test_service/test_request_tracker_application.h

Issue 1980763002: ApplicationConnection devolution, part 2.3. (Closed) Base URL: https://github.com/domokit/mojo.git@work794_app_conn_devo_2.2
Patch Set: Created 4 years, 7 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: services/test_service/test_request_tracker_application.h
diff --git a/services/test_service/test_request_tracker_application.h b/services/test_service/test_request_tracker_application.h
index c169c90dd786eb3a964a0e1e842a9028832d4c05..d936c48d21f6f9cbb392c4020f43c107739d6ecd 100644
--- a/services/test_service/test_request_tracker_application.h
+++ b/services/test_service/test_request_tracker_application.h
@@ -6,7 +6,6 @@
#define SERVICES_TEST_SERVICE_TEST_REQUEST_TRACKER_APPLICATION_H_
#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/public/cpp/system/macros.h"
#include "services/test_service/test_request_tracker_impl.h"
@@ -16,11 +15,7 @@ namespace test {
class TestTimeService;
// Embeds TestRequestTracker mojo services into an application.
-class TestRequestTrackerApplication
- : public ApplicationDelegate,
- public InterfaceFactory<TestTimeService>,
- public InterfaceFactory<TestRequestTracker>,
- public InterfaceFactory<TestTrackedRequestService> {
+class TestRequestTrackerApplication : public ApplicationDelegate {
public:
TestRequestTrackerApplication();
~TestRequestTrackerApplication() override;
@@ -30,18 +25,6 @@ class TestRequestTrackerApplication
// ApplicationDelegate methods:
bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
- // InterfaceFactory<TestTimeService> methods:
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<TestTimeService> request) override;
-
- // InterfaceFactory<TestRequestTracker> methods:
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<TestRequestTracker> request) override;
-
- // InterfaceFactory<TestTrackedRequestService> methods:
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<TestTrackedRequestService> request) override;
-
private:
ApplicationImpl* app_impl_;
TrackingContext context_;
« no previous file with comments | « services/native_viewport/native_viewport_impl.cc ('k') | services/test_service/test_request_tracker_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698