Index: remoting/host/setup/daemon_controller_delegate_win.cc |
diff --git a/remoting/host/setup/daemon_controller_delegate_win.cc b/remoting/host/setup/daemon_controller_delegate_win.cc |
index 7b3366492ecc5b0f6b637306b39996b3488f6c3b..9d14e2b552ecd13026fa3a349c7361f12e27ce76 100644 |
--- a/remoting/host/setup/daemon_controller_delegate_win.cc |
+++ b/remoting/host/setup/daemon_controller_delegate_win.cc |
@@ -265,17 +265,6 @@ void InvokeCompletionCallback( |
done.Run(async_result); |
} |
-bool SetConfig(const std::string& config) { |
- // Determine the config directory path and create it if necessary. |
- base::FilePath config_dir = remoting::GetConfigDir(); |
- if (!base::CreateDirectory(config_dir)) { |
- PLOG(ERROR) << "Failed to create the config directory."; |
- return false; |
- } |
- |
- return WriteConfig(config); |
-} |
- |
bool StartDaemon() { |
DWORD access = SERVICE_CHANGE_CONFIG | SERVICE_QUERY_STATUS | |
SERVICE_START | SERVICE_STOP; |