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

Unified Diff: remoting/host/setup/daemon_controller.cc

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.cc
diff --git a/remoting/host/setup/daemon_controller.cc b/remoting/host/setup/daemon_controller.cc
index 41221fe728fdfe1c5660b24d49a5809f6b64958d..d22a64b0946449af02538c903dd9d434d3e85f6d 100644
--- a/remoting/host/setup/daemon_controller.cc
+++ b/remoting/host/setup/daemon_controller.cc
@@ -47,16 +47,6 @@ void DaemonController::GetConfig(const GetConfigCallback& done) {
ServiceOrQueueRequest(request);
}
-void DaemonController::InstallHost(const CompletionCallback& done) {
- DCHECK(caller_task_runner_->BelongsToCurrentThread());
-
- DaemonController::CompletionCallback wrapped_done = base::Bind(
- &DaemonController::InvokeCompletionCallbackAndScheduleNext, this, done);
- base::Closure request = base::Bind(
- &DaemonController::DoInstallHost, this, wrapped_done);
- ServiceOrQueueRequest(request);
-}
-
void DaemonController::SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,
@@ -140,12 +130,6 @@ void DaemonController::DoGetConfig(const GetConfigCallback& done) {
base::Bind(done, base::Passed(&config)));
}
-void DaemonController::DoInstallHost(const CompletionCallback& done) {
- DCHECK(delegate_task_runner_->BelongsToCurrentThread());
-
- delegate_->InstallHost(done);
-}
-
void DaemonController::DoSetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,

Powered by Google App Engine
This is Rietveld 408576698