summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 19:04:12 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 19:04:12 +0000
commitafe3a16739185a648a21a34e07f3cdb5f1a23c2f (patch)
tree4c82ce550948ed3d67a7a46a1aa066c9080412fb /chrome/browser/autocomplete/autocomplete_edit.cc
parentd699e3a52d6431ea5d2a691f77866ac8ec7ba350 (diff)
downloadchromium_src-afe3a16739185a648a21a34e07f3cdb5f1a23c2f.zip
chromium_src-afe3a16739185a648a21a34e07f3cdb5f1a23c2f.tar.gz
chromium_src-afe3a16739185a648a21a34e07f3cdb5f1a23c2f.tar.bz2
Use plain strings instead of wstrings for UMA actions
git grep 'RecordAction(L' | xargs sed -i -e s/RecordAction(L/RecordAction(/ This cuts more than 10k off my binary. Which is nothing compared to the size of the binary, but that's a whole lot of zero bytes! This is less code this way anyway. Review URL: http://codereview.chromium.org/399026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.cc')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index 218fdd5..46873ba 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -261,7 +261,7 @@ void AutocompleteEditModel::SendOpenNotification(size_t selected_line,
const TemplateURL* const template_url =
template_url_model->GetTemplateURLForKeyword(keyword);
if (template_url) {
- UserMetrics::RecordAction(L"AcceptedKeyword", profile_);
+ UserMetrics::RecordAction("AcceptedKeyword", profile_);
template_url_model->IncrementUsageCount(template_url);
}
@@ -279,7 +279,7 @@ void AutocompleteEditModel::AcceptKeyword() {
// since the edit contents have disappeared. It
// doesn't really matter, but we clear it to be
// consistent.
- UserMetrics::RecordAction(L"AcceptedKeywordHint", profile_);
+ UserMetrics::RecordAction("AcceptedKeywordHint", profile_);
}
void AutocompleteEditModel::ClearKeyword(const std::wstring& visible_text) {