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

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

Issue 2487573002: Service Manager: Remove ServiceContext* arg from Service::OnStart() (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « services/ui/demo/mus_demo.cc ('k') | services/ui/ime/test_ime_driver/test_ime_application.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(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_
OLDNEW
« no previous file with comments | « services/ui/demo/mus_demo.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