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

Unified Diff: services/test_service/test_service_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_service_application.h
diff --git a/services/test_service/test_service_application.h b/services/test_service/test_service_application.h
index 18393112454bd7a63fb555cfc98a5f92994b824a..625e4bbde57fad9153c7da7c5667c80470a48745 100644
--- a/services/test_service/test_service_application.h
+++ b/services/test_service/test_service_application.h
@@ -6,7 +6,6 @@
#define SERVICES_TEST_SERVICE_TEST_SERVICE_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"
namespace mojo {
@@ -16,9 +15,7 @@ namespace test {
class TestService;
class TestTimeService;
-class TestServiceApplication : public ApplicationDelegate,
- public InterfaceFactory<TestService>,
- public InterfaceFactory<TestTimeService> {
+class TestServiceApplication : public ApplicationDelegate {
public:
TestServiceApplication();
~TestServiceApplication() override;
@@ -28,14 +25,6 @@ class TestServiceApplication : public ApplicationDelegate,
// ApplicationDelegate implementation.
bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
- // InterfaceFactory<TestService> implementation.
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<TestService> request) override;
-
- // InterfaceFactory<TestTimeService> implementation.
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<TestTimeService> request) override;
-
void AddRef();
void ReleaseRef();
« no previous file with comments | « services/test_service/test_request_tracker_application.cc ('k') | services/test_service/test_service_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698