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

Side by Side Diff: remoting/host/daemon_process_win.cc

Issue 10823062: Introducing the DaemonProcess class that will implements core of the daemon process functionality. … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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
« no previous file with comments | « remoting/host/daemon_process.cc ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/daemon_process.h"
6
7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h"
9
10 namespace remoting {
11
12 class DaemonProcessWin : public DaemonProcess {
13 public:
14 DaemonProcessWin(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
15 const base::Closure& stopped_callback);
16 virtual ~DaemonProcessWin();
17
18 // DaemonProcess implementation.
19 virtual bool LaunchNetworkProcess() OVERRIDE;
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(DaemonProcessWin);
23 };
24
25 DaemonProcessWin::DaemonProcessWin(
26 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
27 const base::Closure& stopped_callback)
28 : DaemonProcess(main_task_runner, stopped_callback) {
29 }
30
31 DaemonProcessWin::~DaemonProcessWin() {
32 }
33
34 bool DaemonProcessWin::LaunchNetworkProcess() {
35 NOTIMPLEMENTED();
36 return false;
37 }
38
39 scoped_ptr<DaemonProcess> DaemonProcess::Create(
40 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
41 const base::Closure& stopped_callback) {
42 scoped_ptr<DaemonProcessWin> daemon_process(
43 new DaemonProcessWin(main_task_runner, stopped_callback));
44 return daemon_process.PassAs<DaemonProcess>();
45 }
46
47 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/daemon_process.cc ('k') | remoting/host/win/host_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698