1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "remoting/host/setup/daemon_controller.h"
13 class DaemonControllerDelegateLinux
: public DaemonController::Delegate
{
15 DaemonControllerDelegateLinux();
16 ~DaemonControllerDelegateLinux() override
;
18 // DaemonController::Delegate interface.
19 DaemonController::State
GetState() override
;
20 scoped_ptr
<base::DictionaryValue
> GetConfig() override
;
21 void InstallHost(const DaemonController::CompletionCallback
& done
) override
;
22 void SetConfigAndStart(
23 scoped_ptr
<base::DictionaryValue
> config
,
25 const DaemonController::CompletionCallback
& done
) override
;
26 void UpdateConfig(scoped_ptr
<base::DictionaryValue
> config
,
27 const DaemonController::CompletionCallback
& done
) override
;
28 void Stop(const DaemonController::CompletionCallback
& done
) override
;
29 void SetWindow(void* window_handle
) override
;
30 std::string
GetVersion() override
;
31 DaemonController::UsageStatsConsent
GetUsageStatsConsent() override
;
34 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateLinux
);
37 } // namespace remoting
39 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_LINUX_H_