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

Side by Side Diff: services/ui/ime/test_ime_driver/test_ime_application.h

Issue 2795883002: Eliminate OnConnect usage (Closed)
Patch Set: . Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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() override; 21 void OnStart() override;
22 bool OnConnect(const service_manager::ServiceInfo& remote_info,
23 service_manager::InterfaceRegistry* registry) override;
24 22
25 DISALLOW_COPY_AND_ASSIGN(TestIMEApplication); 23 DISALLOW_COPY_AND_ASSIGN(TestIMEApplication);
26 }; 24 };
27 25
28 } // namespace test 26 } // namespace test
29 } // namespace ui 27 } // namespace ui
30 28
31 #endif // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_ 29 #endif // SERVICES_UI_IME_TEST_IME_DRIVER_TEST_IME_APPLICATION_H_
OLDNEW
« no previous file with comments | « services/ui/display/screen_manager_stub_internal.cc ('k') | services/ui/ime/test_ime_driver/test_ime_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698