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

Side by Side Diff: remoting/host/setup/daemon_controller_delegate_mac.h

Issue 232223003: Windows chromoting host installation via the NPAPI plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 6 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_ 5 #ifndef REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_
6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_ 6 #define REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "remoting/host/setup/daemon_controller.h" 10 #include "remoting/host/setup/daemon_controller.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 class DaemonControllerDelegateMac : public DaemonController::Delegate { 14 class DaemonControllerDelegateMac : public DaemonController::Delegate {
15 public: 15 public:
16 DaemonControllerDelegateMac(); 16 DaemonControllerDelegateMac();
17 virtual ~DaemonControllerDelegateMac(); 17 virtual ~DaemonControllerDelegateMac();
18 18
19 // DaemonController::Delegate interface. 19 // DaemonController::Delegate interface.
20 virtual DaemonController::State GetState() OVERRIDE; 20 virtual DaemonController::State GetState() OVERRIDE;
21 virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE; 21 virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE;
22 virtual void InstallHost(
23 const DaemonController::CompletionCallback& done) OVERRIDE;
22 virtual void SetConfigAndStart( 24 virtual void SetConfigAndStart(
23 scoped_ptr<base::DictionaryValue> config, 25 scoped_ptr<base::DictionaryValue> config,
24 bool consent, 26 bool consent,
25 const DaemonController::CompletionCallback& done) OVERRIDE; 27 const DaemonController::CompletionCallback& done) OVERRIDE;
26 virtual void UpdateConfig( 28 virtual void UpdateConfig(
27 scoped_ptr<base::DictionaryValue> config, 29 scoped_ptr<base::DictionaryValue> config,
28 const DaemonController::CompletionCallback& done) OVERRIDE; 30 const DaemonController::CompletionCallback& done) OVERRIDE;
29 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE; 31 virtual void Stop(const DaemonController::CompletionCallback& done) OVERRIDE;
30 virtual void SetWindow(void* window_handle) OVERRIDE; 32 virtual void SetWindow(void* window_handle) OVERRIDE;
31 virtual std::string GetVersion() OVERRIDE; 33 virtual std::string GetVersion() OVERRIDE;
(...skipping 15 matching lines...) Expand all
47 CFDictionaryRef user_info); 49 CFDictionaryRef user_info);
48 50
49 DaemonController::CompletionCallback current_callback_; 51 DaemonController::CompletionCallback current_callback_;
50 52
51 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateMac); 53 DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateMac);
52 }; 54 };
53 55
54 } // namespace remoting 56 } // namespace remoting
55 57
56 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_ 58 #endif // REMOTING_HOST_SETUP_DAEMON_CONTROLLER_DELEGATE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698