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

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

Issue 873353004: Remove InstallHost from the DaemonController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 9ffafb100e714e5a8d93ebc4f6f0ba649b27db10..29ad739fb96c6f2f63de1e2bb8a1f8e65de53287 100644
--- a/remoting/host/setup/daemon_controller_delegate_win.h
+++ b/remoting/host/setup/daemon_controller_delegate_win.h
@@ -11,7 +11,6 @@
// 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 {
@@ -25,8 +24,6 @@ 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,
@@ -51,17 +48,6 @@ 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 StartHostWithConfig(
- scoped_ptr<base::DictionaryValue> config,
- bool consent,
- const DaemonController::CompletionCallback& done,
- HRESULT hr);
-
// |control_| and |control2_| hold references to an instance of the daemon
// controller to prevent a UAC prompt on every operation.
base::win::ScopedComPtr<IDaemonControl> control_;
@@ -77,8 +63,6 @@ class DaemonControllerDelegateWin : public DaemonController::Delegate {
// Handle of the plugin window.
HWND window_handle_;
- scoped_ptr<DaemonInstallerWin> installer_;
-
DISALLOW_COPY_AND_ASSIGN(DaemonControllerDelegateWin);
};

Powered by Google App Engine
This is Rietveld 408576698