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

Unified Diff: extensions/browser/api/hid/hid_device_manager.h

Issue 1236493004: Final batch adding real histogram values for extension events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android compile Created 5 years, 5 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: extensions/browser/api/hid/hid_device_manager.h
diff --git a/extensions/browser/api/hid/hid_device_manager.h b/extensions/browser/api/hid/hid_device_manager.h
index a3adb364be9d428ffbc24bf3f51f0e884df702e7..8479901f0f0cc5dd5fc78b1f8f24307c2a95f49b 100644
--- a/extensions/browser/api/hid/hid_device_manager.h
+++ b/extensions/browser/api/hid/hid_device_manager.h
@@ -16,6 +16,7 @@
#include "device/hid/hid_service.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/event_router.h"
+#include "extensions/browser/extension_event_histogram_value.h"
#include "extensions/common/api/hid.h"
namespace device {
@@ -106,7 +107,8 @@ class HidDeviceManager : public BrowserContextKeyedAPI,
void OnEnumerationComplete(
const std::vector<scoped_refptr<device::HidDeviceInfo>>& devices);
- void DispatchEvent(const std::string& event_name,
+ void DispatchEvent(events::HistogramValue histogram_value,
+ const std::string& event_name,
scoped_ptr<base::ListValue> event_args,
scoped_refptr<device::HidDeviceInfo> device_info);
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698