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

Unified Diff: services/prediction/prediction_service_impl.h

Issue 1981513002: ApplicationConnection devolution, part 2.2. (Closed) Base URL: https://github.com/domokit/mojo.git@master
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
« no previous file with comments | « services/native_viewport/app_delegate.cc ('k') | services/prediction/prediction_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/prediction/prediction_service_impl.h
diff --git a/services/prediction/prediction_service_impl.h b/services/prediction/prediction_service_impl.h
index 64e2b50bfa046f014a62648941ebecbf58726113..6a1c51e28999810f042267c6478f997166b6718c 100644
--- a/services/prediction/prediction_service_impl.h
+++ b/services/prediction/prediction_service_impl.h
@@ -6,7 +6,10 @@
#define SERVICES_PREDICTION_PREDICTION_SERVICE_IMPL_H_
#include "base/memory/scoped_ptr.h"
+#include "mojo/public/cpp/application/application_delegate.h"
+#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/services/prediction/interfaces/prediction.mojom.h"
+#include "services/prediction/dictionary_service.h"
namespace prediction {
@@ -29,9 +32,7 @@ class PredictionServiceImpl : public PredictionService {
DISALLOW_COPY_AND_ASSIGN(PredictionServiceImpl);
};
-class PredictionServiceDelegate
- : public mojo::ApplicationDelegate,
- public mojo::InterfaceFactory<PredictionService> {
+class PredictionServiceDelegate : public mojo::ApplicationDelegate {
public:
PredictionServiceDelegate();
~PredictionServiceDelegate() override;
@@ -39,10 +40,6 @@ class PredictionServiceDelegate
// mojo::ApplicationDelegate implementation
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override;
-
- // mojo::InterfaceRequest<PredictionService> implementation
- void Create(const mojo::ConnectionContext& connection_context,
- mojo::InterfaceRequest<PredictionService> request) override;
};
} // namespace prediction
« no previous file with comments | « services/native_viewport/app_delegate.cc ('k') | services/prediction/prediction_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698