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

Unified Diff: remoting/host/setup/me2me_native_messaging_host_unittest.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/me2me_native_messaging_host_unittest.cc
diff --git a/remoting/host/setup/me2me_native_messaging_host_unittest.cc b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
index 7d2ad685b7cc186c0e72a557b4e113b27330da7f..b336b8d70f9e4b64fad69c569ea8e775a7f90c4e 100644
--- a/remoting/host/setup/me2me_native_messaging_host_unittest.cc
+++ b/remoting/host/setup/me2me_native_messaging_host_unittest.cc
@@ -140,7 +140,6 @@ class MockDaemonControllerDelegate : public DaemonController::Delegate {
// DaemonController::Delegate interface.
DaemonController::State GetState() override;
scoped_ptr<base::DictionaryValue> GetConfig() override;
- void InstallHost(const DaemonController::CompletionCallback& done) override;
void SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,
@@ -168,11 +167,6 @@ scoped_ptr<base::DictionaryValue> MockDaemonControllerDelegate::GetConfig() {
return make_scoped_ptr(new base::DictionaryValue());
}
-void MockDaemonControllerDelegate::InstallHost(
- const DaemonController::CompletionCallback& done) {
- done.Run(DaemonController::RESULT_OK);
-}
-
void MockDaemonControllerDelegate::SetConfigAndStart(
scoped_ptr<base::DictionaryValue> config,
bool consent,

Powered by Google App Engine
This is Rietveld 408576698