| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ | 5 #ifndef SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ |
| 6 #define SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ | 6 #define SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "services/service_manager/public/cpp/service.h" | 9 #include "services/service_manager/public/cpp/service.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 namespace test { | 12 namespace test { |
| 13 | 13 |
| 14 class TestIMEApplication : public service_manager::Service { | 14 class TestIMEApplication : public service_manager::Service { |
| 15 public: | 15 public: |
| 16 TestIMEApplication(); | 16 TestIMEApplication(); |
| 17 ~TestIMEApplication() override; | 17 ~TestIMEApplication() override; |
| 18 | 18 |
| 19 private: | 19 private: |
| 20 // service_manager::Service: | 20 // service_manager::Service: |
| 21 void OnStart(service_manager::ServiceContext* context) override; | 21 void OnStart() override; |
| 22 bool OnConnect(const service_manager::ServiceInfo& remote_info, | 22 bool OnConnect(const service_manager::ServiceInfo& remote_info, |
| 23 service_manager::InterfaceRegistry* registry) override; | 23 service_manager::InterfaceRegistry* registry) override; |
| 24 | 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(TestIMEApplication); | 25 DISALLOW_COPY_AND_ASSIGN(TestIMEApplication); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace test | 28 } // namespace test |
| 29 } // namespace ui | 29 } // namespace ui |
| 30 | 30 |
| 31 #endif // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ | 31 #endif // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ |
| OLD | NEW |