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

Unified Diff: trunk/src/chrome/browser/diagnostics/sqlite_diagnostics.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/diagnostics/sqlite_diagnostics.cc
===================================================================
--- trunk/src/chrome/browser/diagnostics/sqlite_diagnostics.cc (revision 270950)
+++ trunk/src/chrome/browser/diagnostics/sqlite_diagnostics.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/browser/diagnostics/sqlite_diagnostics.h"
-#include "base/base_paths.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
@@ -241,16 +240,14 @@
#if defined(OS_CHROMEOS)
DiagnosticsTest* MakeSqliteNssCertDbTest() {
- base::FilePath home_dir;
- PathService::Get(base::DIR_HOME, &home_dir);
+ base::FilePath home_dir = base::GetHomeDir();
return new SqliteIntegrityTest(SqliteIntegrityTest::REMOVE_IF_CORRUPT,
DIAGNOSTICS_SQLITE_INTEGRITY_NSS_CERT_TEST,
home_dir.Append(chromeos::kNssCertDbPath));
}
DiagnosticsTest* MakeSqliteNssKeyDbTest() {
- base::FilePath home_dir;
- PathService::Get(base::DIR_HOME, &home_dir);
+ base::FilePath home_dir = base::GetHomeDir();
return new SqliteIntegrityTest(SqliteIntegrityTest::REMOVE_IF_CORRUPT,
DIAGNOSTICS_SQLITE_INTEGRITY_NSS_KEY_TEST,
home_dir.Append(chromeos::kNssKeyDbPath));
« no previous file with comments | « trunk/src/chrome/browser/chromeos/login/login_utils.cc ('k') | trunk/src/chrome/common/chrome_paths_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698