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

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

Issue 1255073002: clang/win: Fix most -Wunused-function warnings in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac Created 5 years, 5 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.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;

Powered by Google App Engine
This is Rietveld 408576698