Index: chrome/browser/resources/md_history/app.js |
diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js |
index a9485d8ce4976ebf7473aec90d8144c1018d991c..f96a50ce5750d78d86cf4f4c8d02071004a6e227 100644 |
--- a/chrome/browser/resources/md_history/app.js |
+++ b/chrome/browser/resources/md_history/app.js |
@@ -185,6 +185,9 @@ Polymer({ |
searchTermChanged_: function(searchTerm) { |
this.set('queryParams_.q', searchTerm || null); |
this.$['history'].queryHistory(false); |
+ // TODO(tsergeant): Ignore incremental searches in this metric. |
+ if (this.queryState_.searchTerm) |
+ md_history.BrowserService.getInstance().recordAction('Search'); |
}, |
/** |