diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 00:05:25 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-04 00:05:25 +0000 |
commit | b9636005dd6f235dfb4fa4ea3a83df284341667d (patch) | |
tree | bb1fb84ce9727881ecb5899f87e3833d7f5c4437 /chrome/browser/profile.cc | |
parent | c6ba2ce4faac672e685ee3ac3765c818cbe4dc90 (diff) | |
download | chromium_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/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 710949f..979c263 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -542,7 +542,7 @@ SSLHostState* ProfileImpl::GetSSLHostState() { PrefService* ProfileImpl::GetPrefs() { if (!prefs_.get()) { - prefs_.reset(new PrefService(GetPrefFilePath().ToWStringHack())); + prefs_.reset(new PrefService(GetPrefFilePath())); // The Profile class and ProfileManager class may read some prefs so // register known prefs as soon as possible. |