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

Unified Diff: chrome/browser/extensions/api/identity/web_auth_flow.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/identity/web_auth_flow.cc
diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.cc b/chrome/browser/extensions/api/identity/web_auth_flow.cc
index 8af05bb0792925878639dff4c8c6d60da6bffc4a..3d7665439747e366d471f380197da4fa9115511d 100644
--- a/chrome/browser/extensions/api/identity/web_auth_flow.cc
+++ b/chrome/browser/extensions/api/identity/web_auth_flow.cc
@@ -89,7 +89,8 @@ void WebAuthFlow::Start() {
args->AppendString("silent");
scoped_ptr<Event> event(
- new Event(identity_private::OnWebFlowRequest::kEventName, args.Pass()));
+ new Event(events::UNKNOWN, identity_private::OnWebFlowRequest::kEventName,
+ args.Pass()));
event->restrict_to_browser_context = profile_;
ExtensionSystem* system = ExtensionSystem::Get(profile_);

Powered by Google App Engine
This is Rietveld 408576698