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

Unified Diff: trunk/src/remoting/host/setup/daemon_controller_delegate_linux.cc

Issue 284333002: Revert 270872 "Move all callers of GetHomeDir() to PathService::..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « trunk/src/remoting/host/branding.cc ('k') | trunk/src/rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/host/setup/daemon_controller_delegate_linux.cc
===================================================================
--- trunk/src/remoting/host/setup/daemon_controller_delegate_linux.cc (revision 270950)
+++ trunk/src/remoting/host/setup/daemon_controller_delegate_linux.cc (working copy)
@@ -6,7 +6,6 @@
#include <unistd.h>
-#include "base/base_paths.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/command_line.h"
@@ -17,7 +16,6 @@
#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/md5.h"
-#include "base/path_service.h"
#include "base/process/kill.h"
#include "base/process/launch.h"
#include "base/process/process_handle.h"
@@ -57,9 +55,8 @@
base::FilePath GetConfigPath() {
std::string filename = "host#" + GetMd5(net::GetHostName()) + ".json";
- base::FilePath homedir;
- PathService::Get(base::DIR_HOME, &homedir);
- return homedir.Append(".config/chrome-remote-desktop").Append(filename);
+ return base::GetHomeDir().
+ Append(".config/chrome-remote-desktop").Append(filename);
}
bool GetScriptPath(base::FilePath* result) {
« no previous file with comments | « trunk/src/remoting/host/branding.cc ('k') | trunk/src/rlz/chromeos/lib/rlz_value_store_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698