Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: chrome/browser/metrics/omnibox_metrics_provider.cc

Issue 318993002: Merge MetricsLog and MetricsLogBase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: address nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/metrics/omnibox_metrics_provider.cc
===================================================================
--- chrome/browser/metrics/omnibox_metrics_provider.cc (revision 275424)
+++ chrome/browser/metrics/omnibox_metrics_provider.cc (working copy)
@@ -16,7 +16,7 @@
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/omnibox/omnibox_log.h"
#include "chrome/browser/ui/browser_otr_state.h"
-#include "components/metrics/metrics_log_base.h"
+#include "components/metrics/metrics_log.h"
#include "content/public/browser/notification_service.h"
using metrics::OmniboxEventProto;
@@ -156,7 +156,7 @@
static_cast<int>(Tokenize(log.text, base::kWhitespaceUTF16, &terms));
OmniboxEventProto* omnibox_event = omnibox_events_cache.add_omnibox_event();
- omnibox_event->set_time(metrics::MetricsLogBase::GetCurrentTime());
+ omnibox_event->set_time(MetricsLog::GetCurrentTime());
if (log.tab_id != -1) {
// If we know what tab the autocomplete URL was opened in, log it.
omnibox_event->set_tab_id(log.tab_id);
« no previous file with comments | « chrome/browser/metrics/metrics_service_unittest.cc ('k') | chrome/browser/metrics/profiler_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698