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

Unified Diff: chrome/browser/extensions/api/terminal/terminal_private_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/terminal/terminal_private_api.cc
diff --git a/chrome/browser/extensions/api/terminal/terminal_private_api.cc b/chrome/browser/extensions/api/terminal/terminal_private_api.cc
index 76eb37541f654cd036bd1ac9338b17211c4bfd33..ca77af75d320899af9f3a8f18fee930db8063e85 100644
--- a/chrome/browser/extensions/api/terminal/terminal_private_api.cc
+++ b/chrome/browser/extensions/api/terminal/terminal_private_api.cc
@@ -64,6 +64,7 @@ void NotifyProcessOutput(Profile* profile,
extensions::EventRouter* event_router = extensions::EventRouter::Get(profile);
if (profile && event_router) {
scoped_ptr<extensions::Event> event(new extensions::Event(
+ extensions::events::UNKNOWN,
terminal_private::OnProcessOutput::kEventName, args.Pass()));
event_router->DispatchEventToExtension(extension_id, event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698