diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 02:20:04 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-18 02:20:04 +0000 |
commit | 20ce516dc41e836279baba3a214f1b4e4dbcc22d (patch) | |
tree | f0b9a40a9bdd875ef79f6254414dfd05a222a0d5 /chrome/browser/metrics | |
parent | 8ecf35ac037b7847c280fcbe402c53250db0d53a (diff) | |
download | chromium_src-20ce516dc41e836279baba3a214f1b4e4dbcc22d.zip chromium_src-20ce516dc41e836279baba3a214f1b4e4dbcc22d.tar.gz chromium_src-20ce516dc41e836279baba3a214f1b4e4dbcc22d.tar.bz2 |
Pref service strings should be std::string.
Part 1: Convert RegisterStringPref.
BUG=none
TEST=compile
Review URL: http://codereview.chromium.org/2809022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r-- | chrome/browser/metrics/metrics_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc index 1d5673a..21c1789 100644 --- a/chrome/browser/metrics/metrics_service.cc +++ b/chrome/browser/metrics/metrics_service.cc @@ -326,11 +326,11 @@ class MetricsService::InitTask : public Task { // static void MetricsService::RegisterPrefs(PrefService* local_state) { DCHECK(IsSingleThreaded()); - local_state->RegisterStringPref(prefs::kMetricsClientID, L""); + local_state->RegisterStringPref(prefs::kMetricsClientID, ""); local_state->RegisterInt64Pref(prefs::kMetricsClientIDTimestamp, 0); local_state->RegisterInt64Pref(prefs::kStabilityLaunchTimeSec, 0); local_state->RegisterInt64Pref(prefs::kStabilityLastTimestampSec, 0); - local_state->RegisterStringPref(prefs::kStabilityStatsVersion, L""); + local_state->RegisterStringPref(prefs::kStabilityStatsVersion, ""); local_state->RegisterInt64Pref(prefs::kStabilityStatsBuildTime, 0); local_state->RegisterBooleanPref(prefs::kStabilityExitedCleanly, true); local_state->RegisterBooleanPref(prefs::kStabilitySessionEndCompleted, true); |