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

Unified Diff: chrome/test/reliability/page_load_test.cc

Issue 27354: Add FilePath setter/getter to pref service.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/test/data/pref_service/write.golden.json ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/reliability/page_load_test.cc
===================================================================
--- chrome/test/reliability/page_load_test.cc (revision 10837)
+++ chrome/test/reliability/page_load_test.cc (working copy)
@@ -479,8 +479,8 @@
// that was saved by the app as it closed. The caller takes ownership of the
// returned PrefService object.
PrefService* GetLocalState() {
- std::wstring local_state_path = user_data_dir();
- file_util::AppendToPath(&local_state_path, chrome::kLocalStateFilename);
+ FilePath local_state_path = FilePath::FromWStringHack(user_data_dir())
+ .Append(chrome::kLocalStateFilename);
PrefService* local_state(new PrefService(local_state_path));
return local_state;
« no previous file with comments | « chrome/test/data/pref_service/write.golden.json ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698