OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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. |
| 4 |
| 5 #include "remoting/host/plugin/daemon_controller.h" |
| 6 |
| 7 #include "base/basictypes.h" |
| 8 #include "base/compiler_specific.h" |
| 9 #include "base/logging.h" |
| 10 |
| 11 namespace remoting { |
| 12 |
| 13 namespace { |
| 14 |
| 15 class DaemonControllerLinux : public remoting::DaemonController { |
| 16 public: |
| 17 DaemonControllerLinux(); |
| 18 |
| 19 virtual State GetState() OVERRIDE; |
| 20 virtual bool SetPin(const std::string& pin) OVERRIDE; |
| 21 virtual bool Start() OVERRIDE; |
| 22 virtual bool Stop() OVERRIDE; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(DaemonControllerLinux); |
| 26 }; |
| 27 |
| 28 DaemonControllerLinux::DaemonControllerLinux() { |
| 29 } |
| 30 |
| 31 remoting::DaemonController::State DaemonControllerLinux::GetState() { |
| 32 return remoting::DaemonController::STATE_NOT_IMPLEMENTED; |
| 33 } |
| 34 |
| 35 bool DaemonControllerLinux::SetPin(const std::string& pin) { |
| 36 NOTIMPLEMENTED(); |
| 37 return false; |
| 38 } |
| 39 |
| 40 bool DaemonControllerLinux::Start() { |
| 41 NOTIMPLEMENTED(); |
| 42 return false; |
| 43 } |
| 44 |
| 45 bool DaemonControllerLinux::Stop() { |
| 46 NOTIMPLEMENTED(); |
| 47 return false; |
| 48 } |
| 49 |
| 50 } // namespace |
| 51 |
| 52 DaemonController* remoting::DaemonController::Create() { |
| 53 return new DaemonControllerLinux(); |
| 54 } |
| 55 |
| 56 } // namespace remoting |
OLD | NEW |