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

Unified Diff: chrome/browser/extensions/api/identity/identity_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/identity/identity_api.cc
diff --git a/chrome/browser/extensions/api/identity/identity_api.cc b/chrome/browser/extensions/api/identity/identity_api.cc
index 10eebc21bfeead987ab65dad03ea0dff8739bbcc..ea99771be70610260a0f90ce7139b33a62d90142 100644
--- a/chrome/browser/extensions/api/identity/identity_api.cc
+++ b/chrome/browser/extensions/api/identity/identity_api.cc
@@ -232,9 +232,9 @@ void IdentityAPI::OnAccountSignInChanged(const gaia::AccountIds& ids,
scoped_ptr<base::ListValue> args =
api::identity::OnSignInChanged::Create(account_info, is_signed_in);
- scoped_ptr<Event> event(new Event(api::identity::OnSignInChanged::kEventName,
- args.Pass(),
- browser_context_));
+ scoped_ptr<Event> event(new Event(events::UNKNOWN,
+ api::identity::OnSignInChanged::kEventName,
+ args.Pass(), browser_context_));
EventRouter::Get(browser_context_)->BroadcastEvent(event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698