Commit e4fb95ec authored by gab@chromium.org's avatar gab@chromium.org

Use chrome_constants rather than hardcoded Preferences string in startup_test.cc.

R=nduca
BUG=343692

Review URL: https://codereview.chromium.org/165123003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251506 0039d316-1c4b-4281-b951-d872f2087c98
parent 16710dda
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment