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_npapi.h" | |
Wez
2012/02/03 01:25:36
nit: newline.
Jamie
2012/02/03 01:40:15
Done.
| |
6 #include "base/basictypes.h" | |
7 #include "base/compiler_specific.h" | |
8 | |
9 namespace { | |
10 class DaemonNpapiWin : public remoting::DaemonNpapi { | |
11 public: | |
12 DaemonNpapiWin(); | |
13 | |
14 virtual State GetState() OVERRIDE; | |
15 virtual void Start(const char* pin) OVERRIDE; | |
16 virtual void Stop() OVERRIDE; | |
17 | |
18 private: | |
19 DISALLOW_COPY_AND_ASSIGN(DaemonNpapiWin); | |
20 }; | |
21 } // namespace | |
22 | |
23 DaemonNpapiWin::DaemonNpapiWin() { | |
Wez
2012/02/03 01:25:36
Why aren't these defined as well as declared in th
Jamie
2012/02/03 01:40:15
Done.
| |
24 } | |
25 | |
26 remoting::DaemonNpapi::State DaemonNpapiWin::GetState() { | |
27 return remoting::DaemonNpapi::STATE_NOT_INSTALLED; | |
28 } | |
29 | |
30 void DaemonNpapiWin::Start(const char* pin) { | |
Wez
2012/02/03 01:25:36
nit: NOTIMPLEMENTED
Jamie
2012/02/03 01:40:15
Done.
| |
31 } | |
32 | |
33 void DaemonNpapiWin::Stop() { | |
34 } | |
35 | |
36 remoting::DaemonNpapi* remoting::DaemonNpapi::Create() { | |
37 return new DaemonNpapiWin(); | |
38 } | |
OLD | NEW |