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

Unified Diff: trunk/src/chrome/browser/chromeos/login/login_utils.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
Index: trunk/src/chrome/browser/chromeos/login/login_utils.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/login/login_utils.cc (revision 270950)
+++ trunk/src/chrome/browser/chromeos/login/login_utils.cc (working copy)
@@ -8,7 +8,6 @@
#include <set>
#include <vector>
-#include "base/base_paths.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
@@ -66,6 +65,7 @@
#include "chrome/browser/sync/profile_sync_service_factory.h"
#include "chrome/browser/ui/app_list/start_page_service.h"
#include "chrome/browser/ui/startup/startup_browser_creator.h"
+#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/pref_names.h"
@@ -98,9 +98,7 @@
FILE_PATH_LITERAL(".rlz_disabled");
base::FilePath GetRlzDisabledFlagPath() {
- base::FilePath homedir;
- PathService::Get(base::DIR_HOME, &homedir);
- return homedir.Append(kRLZDisabledFlagName);
+ return base::GetHomeDir().Append(kRLZDisabledFlagName);
}
#endif
« no previous file with comments | « trunk/src/chrome/browser/chrome_content_browser_client.cc ('k') | trunk/src/chrome/browser/diagnostics/sqlite_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698