summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 00:05:25 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 00:05:25 +0000
commitb9636005dd6f235dfb4fa4ea3a83df284341667d (patch)
treebb1fb84ce9727881ecb5899f87e3833d7f5c4437 /chrome/test/testing_profile.h
parentc6ba2ce4faac672e685ee3ac3765c818cbe4dc90 (diff)
downloadchromium_src-b9636005dd6f235dfb4fa4ea3a83df284341667d.zip
chromium_src-b9636005dd6f235dfb4fa4ea3a83df284341667d.tar.gz
chromium_src-b9636005dd6f235dfb4fa4ea3a83df284341667d.tar.bz2
Add FilePath setter/getter to pref service. Change callers to use it rather than the string methods.
Update the pref service unit test and enable it on linux. Also switch over some wstrings to filepaths where appropriate. BUG=8154 Review URL: http://codereview.chromium.org/27354 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r--chrome/test/testing_profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index 4601173..ea78459 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -102,7 +102,7 @@ class TestingProfile : public Profile {
prefs_filename =
prefs_filename.Append(FILE_PATH_LITERAL("TestPreferences"));
if (!prefs_.get()) {
- prefs_.reset(new PrefService(prefs_filename.ToWStringHack()));
+ prefs_.reset(new PrefService(prefs_filename));
Profile::RegisterUserPrefs(prefs_.get());
browser::RegisterAllPrefs(prefs_.get(), prefs_.get());
}