Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: remoting/host/plugin/daemon_npapi_mac.cc

Issue 9316078: Added daemon process NPAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unused headers. Fixed Windows and Mac builds. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 after this
Jamie 2012/02/03 01:40:15 Done.
6 #include "base/basictypes.h"
7 #include "base/compiler_specific.h"
8
9 namespace {
10 class DaemonNpapiMac : public remoting::DaemonNpapi {
11 public:
12 DaemonNpapiMac();
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(DaemonNpapiMac);
20 };
21 } // namespace
22
23 DaemonNpapiMac::DaemonNpapiMac() {
24 }
25
26 remoting::DaemonNpapi::State DaemonNpapiMac::GetState() {
27 return remoting::DaemonNpapi::STATE_NOT_INSTALLED;
28 }
29
30 void DaemonNpapiMac::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 DaemonNpapiMac::Stop() {
Wez 2012/02/03 01:25:36 nit: Ditto.
Jamie 2012/02/03 01:40:15 Done.
34 }
35
36 remoting::DaemonNpapi* remoting::DaemonNpapi::Create() {
37 return new DaemonNpapiMac();
38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698