| 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 "services/shell/public/cpp/service.h" | 8 #include "services/service_manager/public/cpp/service.h" | 
| 9 | 9 | 
| 10 namespace ui { | 10 namespace ui { | 
| 11 namespace test { | 11 namespace test { | 
| 12 | 12 | 
| 13 class TestIMEApplication : public shell::Service { | 13 class TestIMEApplication : public shell::Service { | 
| 14  public: | 14  public: | 
| 15   TestIMEApplication(); | 15   TestIMEApplication(); | 
| 16   ~TestIMEApplication() override; | 16   ~TestIMEApplication() override; | 
| 17 | 17 | 
| 18  private: | 18  private: | 
| 19   // shell::Service: | 19   // shell::Service: | 
| 20   bool OnConnect(const shell::Identity& remote_identity, | 20   bool OnConnect(const shell::Identity& remote_identity, | 
| 21                  shell::InterfaceRegistry* registry) override; | 21                  shell::InterfaceRegistry* registry) override; | 
| 22   void OnStart(const shell::Identity& identity) override; | 22   void OnStart(const shell::Identity& identity) override; | 
| 23 | 23 | 
| 24   DISALLOW_COPY_AND_ASSIGN(TestIMEApplication); | 24   DISALLOW_COPY_AND_ASSIGN(TestIMEApplication); | 
| 25 }; | 25 }; | 
| 26 | 26 | 
| 27 }  // namespace test | 27 }  // namespace test | 
| 28 }  // namespace ui | 28 }  // namespace ui | 
| 29 | 29 | 
| 30 #endif  // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ | 30 #endif  // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ | 
| OLD | NEW | 
|---|