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

Side by Side Diff: ash/autoclick/mus/autoclick_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 | « no previous file | ash/autoclick/mus/autoclick_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 ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_ 5 #ifndef ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_
6 #define ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_ 6 #define ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "ash/autoclick/common/autoclick_controller_common.h" 10 #include "ash/autoclick/common/autoclick_controller_common.h"
(...skipping 21 matching lines...) Expand all
32 public mojom::AutoclickController, 32 public mojom::AutoclickController,
33 public service_manager::InterfaceFactory<mash::mojom::Launchable>, 33 public service_manager::InterfaceFactory<mash::mojom::Launchable>,
34 public service_manager::InterfaceFactory<mojom::AutoclickController>, 34 public service_manager::InterfaceFactory<mojom::AutoclickController>,
35 public AutoclickControllerCommonDelegate { 35 public AutoclickControllerCommonDelegate {
36 public: 36 public:
37 AutoclickApplication(); 37 AutoclickApplication();
38 ~AutoclickApplication() override; 38 ~AutoclickApplication() override;
39 39
40 private: 40 private:
41 // service_manager::Service: 41 // service_manager::Service:
42 void OnStart(service_manager::ServiceContext* context) override; 42 void OnStart() override;
43 bool OnConnect(const service_manager::ServiceInfo& remote_info, 43 bool OnConnect(const service_manager::ServiceInfo& remote_info,
44 service_manager::InterfaceRegistry* registry) override; 44 service_manager::InterfaceRegistry* registry) override;
45 45
46 // mojom::Launchable: 46 // mojom::Launchable:
47 void Launch(uint32_t what, mash::mojom::LaunchMode how) override; 47 void Launch(uint32_t what, mash::mojom::LaunchMode how) override;
48 48
49 // mojom::AutoclickController: 49 // mojom::AutoclickController:
50 void SetAutoclickDelay(uint32_t delay_in_milliseconds) override; 50 void SetAutoclickDelay(uint32_t delay_in_milliseconds) override;
51 51
52 // service_manager::InterfaceFactory<mojom::Launchable>: 52 // service_manager::InterfaceFactory<mojom::Launchable>:
(...skipping 21 matching lines...) Expand all
74 std::unique_ptr<AutoclickControllerCommon> autoclick_controller_common_; 74 std::unique_ptr<AutoclickControllerCommon> autoclick_controller_common_;
75 std::unique_ptr<views::Widget> widget_; 75 std::unique_ptr<views::Widget> widget_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(AutoclickApplication); 77 DISALLOW_COPY_AND_ASSIGN(AutoclickApplication);
78 }; 78 };
79 79
80 } // namespace autoclick 80 } // namespace autoclick
81 } // namespace ash 81 } // namespace ash
82 82
83 #endif // ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_ 83 #endif // ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_
OLDNEW
« no previous file with comments | « no previous file | ash/autoclick/mus/autoclick_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698