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

Unified Diff: chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc

Issue 12375006: Added UMA stats for extensions events on addListener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 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/tab_capture/tab_capture_registry.cc
diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
index 16e52fe23997d02dd05f2254cafb5fceaa68870c..7c99640f4a31d5356fb052234a5d75c87b6d0a64 100644
--- a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
+++ b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
@@ -17,7 +17,6 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
-namespace events = extensions::event_names;
using content::BrowserThread;
namespace extensions {
@@ -170,7 +169,7 @@ void TabCaptureRegistry::OnRequestUpdate(
scoped_ptr<base::ListValue> args(new ListValue());
args->Append(info->ToValue().release());
scoped_ptr<Event> event(new Event(
- events::kOnTabCaptureStatusChanged, args.Pass()));
+ event_names::kOnTabCaptureStatusChanged, args.Pass()));
event->restrict_to_profile = profile_;
router->DispatchEventToExtension(request_info->extension_id, event.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698