Omnibox: Add logging of whether the user just deleted text from the omnibox

For UMA opted-in users, this adds a new field to the omnibox event record that's uploaded when the user uses the omnibox.  In particular, it records a simple boolean of whether the user just deleted text in the omnibox before accepting a suggestion.  Basically, was the last key in the omnibox a backspace?

This change only adds the field to the protocol buffer upload format, not the XML format. If I decide later I want to add it to the XML format, I'll do it in another changelist.

BUG=
TEST=by hand, with VLOG(1) lines in autocomplete_edit.cc


Review URL: http://codereview.chromium.org/10337005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135196 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index b2c2079..8daa561 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -928,6 +928,7 @@
     omnibox_event->set_tab_id(log.tab_id);
   }
   omnibox_event->set_typed_length(log.text.length());
+  omnibox_event->set_just_deleted_text(log.just_deleted_text);
   omnibox_event->set_num_typed_terms(num_terms);
   omnibox_event->set_selected_index(log.selected_index);
   omnibox_event->set_completed_length(log.inline_autocompleted_length);