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

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 11411159: base/prefs: Break the dependency in chrome_paths.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: chrome/test/base/chrome_test_suite.cc
diff --git a/chrome/test/base/chrome_test_suite.cc b/chrome/test/base/chrome_test_suite.cc
index 53eb2e5fafef3afce644854d8f41a3107d60d558..46c60453e61212bd8c17d9632aa6b38647446677 100644
--- a/chrome/test/base/chrome_test_suite.cc
+++ b/chrome/test/base/chrome_test_suite.cc
@@ -14,6 +14,7 @@
#include "base/memory/ref_counted.h"
#include "base/metrics/stats_table.h"
#include "base/path_service.h"
+#include "base/prefs/pref_paths.h"
#include "base/process_util.h"
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
@@ -207,6 +208,7 @@ void ChromeTestSuite::Initialize() {
chrome::android::RegisterJni(base::android::AttachCurrentThread());
#endif
+ base::prefs::RegisterPathProvider();
chrome::RegisterPathProvider();
if (!browser_dir_.empty()) {
PathService::Override(base::DIR_EXE, browser_dir_);

Powered by Google App Engine
This is Rietveld 408576698