| 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 c8e272ac8c040d879a0174d17359a0206d72c606..38fc5d967f429a431dec0290d478fd7c881081d8 100644
|
| --- a/mojo/services/test_service/test_service_impl.h
|
| +++ b/mojo/services/test_service/test_service_impl.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef MOJO_SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_
|
| #define MOJO_SERVICES_TEST_SERVICE_TEST_SERVICE_IMPL_H_
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "mojo/public/cpp/system/macros.h"
|
| #include "mojo/services/test_service/test_service.mojom.h"
|
|
|
| @@ -12,21 +13,30 @@ namespace mojo {
|
| class ApplicationConnection;
|
| namespace test {
|
|
|
| +class MonitoringUploader;
|
| class TestServiceApplication;
|
|
|
| -class TestServiceImpl : public InterfaceImpl<ITestService> {
|
| +class TestServiceImpl : public InterfaceImpl<TestService> {
|
| public:
|
| - explicit TestServiceImpl(ApplicationConnection* connection,
|
| - TestServiceApplication* application);
|
| + TestServiceImpl(ApplicationConnection* connection,
|
| + TestServiceApplication* application);
|
| virtual ~TestServiceImpl();
|
|
|
| - // |ITestService| methods:
|
| + // |TestService| methods:
|
| virtual void OnConnectionEstablished() MOJO_OVERRIDE;
|
| virtual void OnConnectionError() MOJO_OVERRIDE;
|
| virtual void Ping(const mojo::Callback<void()>& callback) MOJO_OVERRIDE;
|
| + virtual void GetFriendlyWelcomeMessage(
|
| + const mojo::String& time_app_url,
|
| + const mojo::Callback<void(mojo::String)>& callback) MOJO_OVERRIDE;
|
| + virtual void StartMonitoring(const mojo::Callback<void()>& callback)
|
| + MOJO_OVERRIDE;
|
|
|
| private:
|
| TestServiceApplication* const application_;
|
| + ApplicationConnection* const connection_;
|
| + TestTimeServicePtr time_service_;
|
| + scoped_ptr<MonitoringUploader> monitoring_;
|
|
|
| MOJO_DISALLOW_COPY_AND_ASSIGN(TestServiceImpl);
|
| };
|
|
|