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

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

Issue 9316078: Added daemon process NPAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separated out Start/SetPin and added return codes to Stop and Start. 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_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 DaemonControllerMac : public remoting::DaemonController {
16 public:
17 DaemonControllerMac();
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(DaemonControllerMac);
26 };
27
28 DaemonControllerMac::DaemonControllerMac() {
29 }
30
31 remoting::DaemonController::State DaemonControllerMac::GetState() {
32 return remoting::DaemonController::STATE_NOT_IMPLEMENTED;
33 }
34
35 bool DaemonControllerMac::SetPin(const std::string& pin) {
36 NOTIMPLEMENTED();
37 return false;
38 }
39
40 bool DaemonControllerMac::Start() {
41 NOTIMPLEMENTED();
42 return false;
43 }
44
45 bool DaemonControllerMac::Stop() {
46 NOTIMPLEMENTED();
47 return false;
48 }
49
50 } // namespace
51
52 DaemonController* remoting::DaemonController::Create() {
53 return new DaemonControllerMac();
54 }
55
56 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698