summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bubble_view.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/views/bookmark_bubble_view.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/views/bookmark_bubble_view.cc')
-rw-r--r--chrome/browser/views/bookmark_bubble_view.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc
index 9c4465b..425d1ce5 100644
--- a/chrome/browser/views/bookmark_bubble_view.cc
+++ b/chrome/browser/views/bookmark_bubble_view.cc
@@ -331,7 +331,7 @@ void BookmarkBubbleView::ButtonPressed(
void BookmarkBubbleView::LinkActivated(Link* source, int event_flags) {
DCHECK(source == remove_link_);
- UserMetrics::RecordAction(L"BookmarkBubble_Unstar", profile_);
+ UserMetrics::RecordAction("BookmarkBubble_Unstar", profile_);
// Set this so we remove the bookmark after the window closes.
remove_bookmark_ = true;
@@ -344,7 +344,7 @@ void BookmarkBubbleView::ItemChanged(Combobox* combobox,
int prev_index,
int new_index) {
if (new_index + 1 == parent_model_.GetItemCount()) {
- UserMetrics::RecordAction(L"BookmarkBubble_EditFromCombobox", profile_);
+ UserMetrics::RecordAction("BookmarkBubble_EditFromCombobox", profile_);
ShowEditor();
return;
@@ -381,7 +381,7 @@ void BookmarkBubbleView::Close() {
void BookmarkBubbleView::HandleButtonPressed(views::Button* sender) {
if (sender == edit_button_) {
- UserMetrics::RecordAction(L"BookmarkBubble_Edit", profile_);
+ UserMetrics::RecordAction("BookmarkBubble_Edit", profile_);
ShowEditor();
} else {
DCHECK(sender == close_button_);
@@ -436,7 +436,7 @@ void BookmarkBubbleView::ApplyEdits() {
const std::wstring new_title = UTF16ToWide(title_tf_->text());
if (new_title != node->GetTitle()) {
model->SetTitle(node, new_title);
- UserMetrics::RecordAction(L"BookmarkBubble_ChangeTitleInBubble",
+ UserMetrics::RecordAction("BookmarkBubble_ChangeTitleInBubble",
profile_);
}
// Last index means 'Choose another folder...'
@@ -445,7 +445,7 @@ void BookmarkBubbleView::ApplyEdits() {
const BookmarkNode* new_parent =
parent_model_.GetNodeAt(parent_combobox_->selected_item());
if (new_parent != node->GetParent()) {
- UserMetrics::RecordAction(L"BookmarkBubble_ChangeParent", profile_);
+ UserMetrics::RecordAction("BookmarkBubble_ChangeParent", profile_);
model->Move(node, new_parent, new_parent->GetChildCount());
}
}