summaryrefslogtreecommitdiffstats
path: root/chrome/browser/options_util.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 03:02:51 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 03:02:51 +0000
commit57ecc4bf4069cb869e5fb0a7d922eec2384bac25 (patch)
tree1b4668fa59d6b6a072144b4ddab8d5f6faba3fa4 /chrome/browser/options_util.cc
parent1af19cfd7b1ef9924516dbe811db495315feaefe (diff)
downloadchromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.zip
chromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.tar.gz
chromium_src-57ecc4bf4069cb869e5fb0a7d922eec2384bac25.tar.bz2
Make prefs use std::string for keys rather than wstrings.
Much remains to be converted. BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3076037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/options_util.cc')
-rw-r--r--chrome/browser/options_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/options_util.cc b/chrome/browser/options_util.cc
index 5ab7b06..fa9a229 100644
--- a/chrome/browser/options_util.cc
+++ b/chrome/browser/options_util.cc
@@ -21,7 +21,7 @@ void OptionsUtil::ResetToDefaults(Profile* profile) {
// changes to any of the options pages doesn't require updating this list
// manually.
PrefService* prefs = profile->GetPrefs();
- const wchar_t* kUserPrefs[] = {
+ const char* kUserPrefs[] = {
prefs::kAcceptLanguages,
prefs::kAlternateErrorPagesEnabled,
prefs::kClearSiteDataOnExit,
@@ -82,7 +82,7 @@ void OptionsUtil::ResetToDefaults(Profile* profile) {
// settings they'll either inadvertedly enable this logging or disable it.
// One is undesirable for them, one is undesirable for us. For now, we just
// don't reset it.
- const wchar_t* kLocalStatePrefs[] = {
+ const char* kLocalStatePrefs[] = {
prefs::kApplicationLocale,
};
for (size_t i = 0; i < arraysize(kLocalStatePrefs); ++i)