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

Side by Side Diff: ash/autoclick/mus/autoclick_application.h

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (Closed)
Patch Set: . 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 19 matching lines...) Expand all
30 public mojom::AutoclickController, 30 public mojom::AutoclickController,
31 public service_manager::InterfaceFactory<mash::mojom::Launchable>, 31 public service_manager::InterfaceFactory<mash::mojom::Launchable>,
32 public service_manager::InterfaceFactory<mojom::AutoclickController>, 32 public service_manager::InterfaceFactory<mojom::AutoclickController>,
33 public AutoclickControllerCommonDelegate { 33 public AutoclickControllerCommonDelegate {
34 public: 34 public:
35 AutoclickApplication(); 35 AutoclickApplication();
36 ~AutoclickApplication() override; 36 ~AutoclickApplication() override;
37 37
38 private: 38 private:
39 // service_manager::Service: 39 // service_manager::Service:
40 void OnStart(const service_manager::Identity& identity) override; 40 void OnStart(const service_manager::ServiceInfo& info) override;
41 bool OnConnect(const service_manager::Identity& remote_identity, 41 bool OnConnect(const service_manager::ServiceInfo& remote_info,
42 service_manager::InterfaceRegistry* registry) override; 42 service_manager::InterfaceRegistry* registry) override;
43 43
44 // mojom::Launchable: 44 // mojom::Launchable:
45 void Launch(uint32_t what, mash::mojom::LaunchMode how) override; 45 void Launch(uint32_t what, mash::mojom::LaunchMode how) override;
46 46
47 // mojom::AutoclickController: 47 // mojom::AutoclickController:
48 void SetAutoclickDelay(uint32_t delay_in_milliseconds) override; 48 void SetAutoclickDelay(uint32_t delay_in_milliseconds) override;
49 49
50 // service_manager::InterfaceFactory<mojom::Launchable>: 50 // service_manager::InterfaceFactory<mojom::Launchable>:
51 void Create(const service_manager::Identity& remote_identity, 51 void Create(const service_manager::Identity& remote_identity,
(...skipping 20 matching lines...) Expand all
72 std::unique_ptr<AutoclickControllerCommon> autoclick_controller_common_; 72 std::unique_ptr<AutoclickControllerCommon> autoclick_controller_common_;
73 std::unique_ptr<views::Widget> widget_; 73 std::unique_ptr<views::Widget> widget_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(AutoclickApplication); 75 DISALLOW_COPY_AND_ASSIGN(AutoclickApplication);
76 }; 76 };
77 77
78 } // namespace autoclick 78 } // namespace autoclick
79 } // namespace ash 79 } // namespace ash
80 80
81 #endif // ASH_AUTOCLICK_MUS_AUTOCLICK_APPLICATION_H_ 81 #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