From b9636005dd6f235dfb4fa4ea3a83df284341667d Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Wed, 4 Mar 2009 00:05:25 +0000 Subject: 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 --- chrome/test/testing_profile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/test/testing_profile.h') 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()); } -- cgit v1.1