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

Unified Diff: trunk/src/crypto/nss_util.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/content/ppapi_plugin/ppapi_plugin_main.cc ('k') | trunk/src/printing/backend/cups_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/crypto/nss_util.cc
===================================================================
--- trunk/src/crypto/nss_util.cc (revision 270950)
+++ trunk/src/crypto/nss_util.cc (working copy)
@@ -21,7 +21,6 @@
#include <map>
#include <vector>
-#include "base/base_paths.h"
#include "base/bind.h"
#include "base/cpu.h"
#include "base/debug/alias.h"
@@ -35,7 +34,6 @@
#include "base/message_loop/message_loop.h"
#include "base/metrics/histogram.h"
#include "base/native_library.h"
-#include "base/path_service.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "base/threading/thread_checker.h"
@@ -82,8 +80,7 @@
#if defined(USE_NSS)
base::FilePath GetDefaultConfigDirectory() {
- base::FilePath dir;
- PathService::Get(base::DIR_HOME, &dir);
+ base::FilePath dir = base::GetHomeDir();
if (dir.empty()) {
LOG(ERROR) << "Failed to get home directory.";
return dir;
« no previous file with comments | « trunk/src/content/ppapi_plugin/ppapi_plugin_main.cc ('k') | trunk/src/printing/backend/cups_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698