HomeSort by relevance Sort by last modified time
    Searched refs:DaemonController (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/remoting/host/setup/
daemon_controller_delegate_linux.h 13 class DaemonControllerDelegateLinux : public DaemonController::Delegate {
18 // DaemonController::Delegate interface.
19 virtual DaemonController::State GetState() OVERRIDE;
24 const DaemonController::CompletionCallback& done) OVERRIDE;
27 const DaemonController::CompletionCallback& done) OVERRIDE;
28 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
31 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE;
daemon_controller.cc 20 DaemonController::DaemonController(scoped_ptr<Delegate> delegate)
35 DaemonController::State DaemonController::GetState() {
40 void DaemonController::GetConfig(const GetConfigCallback& done) {
43 DaemonController::GetConfigCallback wrapped_done = base::Bind(
44 &DaemonController::InvokeConfigCallbackAndScheduleNext, this, done);
46 &DaemonController::DoGetConfig, this, wrapped_done);
50 void DaemonController::SetConfigAndStart(
56 DaemonController::CompletionCallback wrapped_done = base::Bind
    [all...]
daemon_controller_delegate_mac.h 14 class DaemonControllerDelegateMac : public DaemonController::Delegate {
19 // DaemonController::Delegate interface.
20 virtual DaemonController::State GetState() OVERRIDE;
25 const DaemonController::CompletionCallback& done) OVERRIDE;
28 const DaemonController::CompletionCallback& done) OVERRIDE;
29 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
32 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE;
36 const DaemonController::CompletionCallback& done);
38 const DaemonController::CompletionCallback &done);
49 DaemonController::CompletionCallback current_callback_
    [all...]
daemon_controller_delegate_win.h 19 class DaemonControllerDelegateWin : public DaemonController::Delegate {
24 // DaemonController::Delegate interface.
25 virtual DaemonController::State GetState() OVERRIDE;
30 const DaemonController::CompletionCallback& done) OVERRIDE;
33 const DaemonController::CompletionCallback& done) OVERRIDE;
34 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
37 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE;
56 const DaemonController::CompletionCallback& done,
daemon_controller_delegate_linux.cc 131 DaemonController::State DaemonControllerDelegateLinux::GetState() {
139 return DaemonController::STATE_NOT_IMPLEMENTED;
143 return DaemonController::STATE_STARTED;
145 return DaemonController::STATE_STOPPED;
152 if (GetState() != DaemonController::STATE_NOT_IMPLEMENTED) {
173 const DaemonController::CompletionCallback& done) {
183 done.Run(DaemonController::RESULT_FAILED);
192 done.Run(DaemonController::RESULT_FAILED);
201 done.Run(DaemonController::RESULT_FAILED);
208 DaemonController::AsyncResult result = DaemonController::RESULT_FAILED
    [all...]
daemon_controller_delegate_win.cc 65 DaemonController::State ConvertToDaemonState(DWORD service_state) {
68 return DaemonController::STATE_STARTED;
72 return DaemonController::STATE_STARTING;
77 return DaemonController::STATE_STOPPING;
82 return DaemonController::STATE_STOPPED;
87 return DaemonController::STATE_UNKNOWN;
118 DaemonController::AsyncResult HResultToAsyncResult(
121 return DaemonController::RESULT_OK;
123 return DaemonController::RESULT_CANCELLED;
127 return DaemonController::RESULT_FAILED
    [all...]
daemon_controller.h 25 class DaemonController : public base::RefCountedThreadSafe<DaemonController> {
157 static scoped_refptr<DaemonController> Create();
159 explicit DaemonController(scoped_ptr<Delegate> delegate);
214 friend class base::RefCountedThreadSafe<DaemonController>;
215 virtual ~DaemonController();
263 DISALLOW_COPY_AND_ASSIGN(DaemonController);
host_starter.h 72 scoped_refptr<remoting::DaemonController> daemon_controller);
76 void OnHostStarted(DaemonController::AsyncResult result);
80 scoped_refptr<remoting::DaemonController> daemon_controller_;
me2me_native_messaging_host.cc 57 scoped_refptr<DaemonController> daemon_controller,
328 DaemonController::State state = daemon_controller_->GetState();
330 case DaemonController::STATE_NOT_IMPLEMENTED:
333 case DaemonController::STATE_NOT_INSTALLED:
336 case DaemonController::STATE_INSTALLING:
339 case DaemonController::STATE_STOPPED:
342 case DaemonController::STATE_STARTING:
345 case DaemonController::STATE_STARTED:
348 case DaemonController::STATE_STOPPING:
351 case DaemonController::STATE_UNKNOWN
    [all...]
me2me_native_messaging_host_unittest.cc 135 class MockDaemonControllerDelegate : public DaemonController::Delegate {
140 // DaemonController::Delegate interface.
141 virtual DaemonController::State GetState() OVERRIDE;
146 const DaemonController::CompletionCallback& done) OVERRIDE;
149 const DaemonController::CompletionCallback& done) OVERRIDE;
150 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
153 virtual DaemonController::UsageStatsConsent GetUsageStatsConsent() OVERRIDE;
163 DaemonController::State MockDaemonControllerDelegate::GetState() {
164 return DaemonController::STATE_STARTED;
174 const DaemonController::CompletionCallback& done)
    [all...]
me2me_native_messaging_host.h 38 scoped_refptr<DaemonController> daemon_controller,
97 // These Send... methods get called on the DaemonController's internal thread,
107 const DaemonController::UsageStatsConsent& consent);
109 DaemonController::AsyncResult result);
117 scoped_refptr<DaemonController> daemon_controller_;
me2me_native_messaging_host_main.cc 49 scoped_refptr<DaemonController> daemon_controller =
50 DaemonController::Create();
host_starter.cc 23 scoped_refptr<remoting::DaemonController> daemon_controller)
45 scoped_refptr<remoting::DaemonController> daemon_controller(
46 remoting::DaemonController::Create());
175 void HostStarter::OnHostStarted(DaemonController::AsyncResult result) {
181 if (result != DaemonController::RESULT_OK) {
  /external/chromium_org/remoting/host/plugin/
host_script_object.h 209 // SetUsageStatsConsent() in DaemonController.
211 DaemonController::AsyncResult result);
218 // Callback handler for DaemonController::GetConfig().
222 // Callback handler for DaemonController::GetVersion().
231 // Callback handler for DaemonController::GetUsageStatsConsent().
234 const DaemonController::UsageStatsConsent& consent);
292 scoped_refptr<DaemonController> daemon_controller_;
host_script_object.cc 109 daemon_controller_ = DaemonController::Create();
    [all...]

Completed in 84 milliseconds