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

Unified Diff: chrome/test/perf/startup_test.cc

Issue 165123003: Use chrome_constants rather than hardcoded Preferences string in startup_test.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 6 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/startup_test.cc
diff --git a/chrome/test/perf/startup_test.cc b/chrome/test/perf/startup_test.cc
index e15048ebd5b962471c71ccb159bb5ef474405666..34a83dd1c20ea4156c5c19298d891d95c363ab35 100644
--- a/chrome/test/perf/startup_test.cc
+++ b/chrome/test/perf/startup_test.cc
@@ -110,11 +110,11 @@ class StartupTest : public UIPerfTest {
return;
const base::FilePath pref_template_path(user_data_dir().
- AppendASCII("Default").
+ AppendASCII(chrome::kInitialProfile).
AppendASCII("PreferencesTemplate"));
const base::FilePath pref_path(user_data_dir().
AppendASCII(TestingProfile::kTestUserProfileDir).
- AppendASCII("Preferences"));
+ Append(chrome::kPreferencesFilename));
// Read in preferences template.
std::string pref_string;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698