Index: remoting/host/plugin/daemon_npapi_mac.cc |
diff --git a/remoting/host/plugin/daemon_npapi_mac.cc b/remoting/host/plugin/daemon_npapi_mac.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6ccb4623e43c13537315f9ffeaea93a0e2fed172 |
--- /dev/null |
+++ b/remoting/host/plugin/daemon_npapi_mac.cc |
@@ -0,0 +1,38 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "remoting/host/plugin/daemon_npapi.h" |
Wez
2012/02/03 01:25:36
nit: newline after this
Jamie
2012/02/03 01:40:15
Done.
|
+#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
+ |
+namespace { |
+class DaemonNpapiMac : public remoting::DaemonNpapi { |
+ public: |
+ DaemonNpapiMac(); |
+ |
+ virtual State GetState() OVERRIDE; |
+ virtual void Start(const char* pin) OVERRIDE; |
+ virtual void Stop() OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(DaemonNpapiMac); |
+}; |
+} // namespace |
+ |
+DaemonNpapiMac::DaemonNpapiMac() { |
+} |
+ |
+remoting::DaemonNpapi::State DaemonNpapiMac::GetState() { |
+ return remoting::DaemonNpapi::STATE_NOT_INSTALLED; |
+} |
+ |
+void DaemonNpapiMac::Start(const char* pin) { |
Wez
2012/02/03 01:25:36
nit: NOTIMPLEMENTED().
Jamie
2012/02/03 01:40:15
Done.
|
+} |
+ |
+void DaemonNpapiMac::Stop() { |
Wez
2012/02/03 01:25:36
nit: Ditto.
Jamie
2012/02/03 01:40:15
Done.
|
+} |
+ |
+remoting::DaemonNpapi* remoting::DaemonNpapi::Create() { |
+ return new DaemonNpapiMac(); |
+} |