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

Unified Diff: remoting/host/setup/daemon_controller_delegate_win.h

Issue 232223003: Windows chromoting host installation via the NPAPI plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittests 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/setup/daemon_controller_delegate_win.h
diff --git a/remoting/host/setup/daemon_controller_delegate_win.h b/remoting/host/setup/daemon_controller_delegate_win.h
index ded84787b137b679711a287d08fe609c817b2d10..b3dd45b73b8435366a49e2d233dbfdaec34b0b81 100644
--- a/remoting/host/setup/daemon_controller_delegate_win.h
+++ b/remoting/host/setup/daemon_controller_delegate_win.h
@@ -11,6 +11,7 @@
// chromoting_lib.h contains MIDL-generated declarations.
#include "remoting/host/chromoting_lib.h"
#include "remoting/host/setup/daemon_controller.h"
+#include "remoting/host/setup/daemon_installer_win.h"
namespace remoting {
@@ -24,6 +25,8 @@ class DaemonControllerDelegateWin : public DaemonController::Delegate {
// DaemonController::Delegate interface.
virtual DaemonController::State GetState() OVERRIDE;
virtual scoped_ptr<base::DictionaryValue> GetConfig() OVERRIDE;
+ virtual void InstallHost(
+ const DaemonController::CompletionCallback& done) OVERRIDE;
virtual void SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,
@@ -48,9 +51,12 @@ class DaemonControllerDelegateWin : public DaemonController::Delegate {
// Releases the cached instance of the controller.
void ReleaseController();
+ // Install the host and then invoke the callback.
+ void DoInstallHost(const DaemonInstallerWin::CompletionCallback& done);
+
// Procedes with the daemon configuration if the installation succeeded,
// otherwise reports the error.
- void OnInstallationComplete(
+ void StartHostWithConfig(
scoped_ptr<base::DictionaryValue> config,
bool consent,
const DaemonController::CompletionCallback& done,
« no previous file with comments | « remoting/host/setup/daemon_controller_delegate_mac.mm ('k') | remoting/host/setup/daemon_controller_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698