summaryrefslogtreecommitdiffstats
path: root/extensions/shell/browser
diff options
context:
space:
mode:
authorkalman <kalman@chromium.org>2015-06-24 14:14:05 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-24 21:14:47 +0000
commitf1b4d784ec2cf933cd261b3f3371b131ead9e567 (patch)
tree0ac8e1228d0210cb43319d57b0f3961b49fb9dfd /extensions/shell/browser
parent8daa80b76dc76f9fef3ec45ee106d69fef705b86 (diff)
downloadchromium_src-f1b4d784ec2cf933cd261b3f3371b131ead9e567.zip
chromium_src-f1b4d784ec2cf933cd261b3f3371b131ead9e567.tar.gz
chromium_src-f1b4d784ec2cf933cd261b3f3371b131ead9e567.tar.bz2
Set up the infrastructure for Extension event metrics.
This patch adds extension_event_histogram_value.h with a value for every Extension event (scraped using the Docserver), changes the Event struct constructor to require one, then makes every caller pass in UNKNOWN. These are steps 1 and 2 in the bug. Next I will be submitting bite-sized changes to use the real histogram values. BUG=503402 R=rdevlin.cronin@chromium.org, isherman@chromium.org TBR=achuith@chromium.org, rkc@chromium.org, dewittj@chromium.org, tommi@chromium.org, msw@chromium.org Review URL: https://codereview.chromium.org/1201063002 Cr-Commit-Position: refs/heads/master@{#336003}
Diffstat (limited to 'extensions/shell/browser')
-rw-r--r--extensions/shell/browser/shell_extensions_browser_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/shell/browser/shell_extensions_browser_client.cc b/extensions/shell/browser/shell_extensions_browser_client.cc
index a79d866..7a14a93 100644
--- a/extensions/shell/browser/shell_extensions_browser_client.cc
+++ b/extensions/shell/browser/shell_extensions_browser_client.cc
@@ -215,7 +215,7 @@ void ShellExtensionsBrowserClient::BroadcastEventToRenderers(
return;
}
- scoped_ptr<Event> event(new Event(event_name, args.Pass()));
+ scoped_ptr<Event> event(new Event(events::UNKNOWN, event_name, args.Pass()));
EventRouter::Get(browser_context_)->BroadcastEvent(event.Pass());
}