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

Unified Diff: chrome/browser/extensions/api/history/history_api.cc

Issue 1201063002: Set up the infrastructure for Extension event metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaaaaase Created 5 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/extensions/api/history/history_api.cc
diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc
index f95204fc3602a52390720e6f3b71268ce84bc709..47cc8b593857dae48f537f35bcde35f1939ea3b9 100644
--- a/chrome/browser/extensions/api/history/history_api.cc
+++ b/chrome/browser/extensions/api/history/history_api.cc
@@ -174,7 +174,7 @@ void HistoryEventRouter::DispatchEvent(
scoped_ptr<base::ListValue> event_args) {
if (profile && extensions::EventRouter::Get(profile)) {
scoped_ptr<extensions::Event> event(new extensions::Event(
- event_name, event_args.Pass()));
+ extensions::events::UNKNOWN, event_name, event_args.Pass()));
event->restrict_to_browser_context = profile;
extensions::EventRouter::Get(profile)->BroadcastEvent(event.Pass());
}
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/api/hotword_private/hotword_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698