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

Unified Diff: extensions/browser/api/web_request/web_request_api.h

Issue 1272373003: Add extension event histogram values for messaging, webRequest, and webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/web_request/web_request_api.h
diff --git a/extensions/browser/api/web_request/web_request_api.h b/extensions/browser/api/web_request/web_request_api.h
index 49bed01b9de2d19c0439e3c446e44c956228f0bb..06ffbff03dcc927f181e5e4ba65f02960731822e 100644
--- a/extensions/browser/api/web_request/web_request_api.h
+++ b/extensions/browser/api/web_request/web_request_api.h
@@ -271,17 +271,17 @@ class ExtensionWebRequestEventRouter
// listened to. |sub_event_name| is an internal event uniquely generated in
// the extension process to correspond to the given filter and
// extra_info_spec. It returns true on success, false on failure.
- bool AddEventListener(
- void* browser_context,
- const std::string& extension_id,
- const std::string& extension_name,
- const std::string& event_name,
- const std::string& sub_event_name,
- const RequestFilter& filter,
- int extra_info_spec,
- int embedder_process_id,
- int web_view_instance_id,
- base::WeakPtr<IPC::Sender> ipc_sender);
+ bool AddEventListener(void* browser_context,
+ const std::string& extension_id,
+ const std::string& extension_name,
+ events::HistogramValue histogram_value,
+ const std::string& event_name,
+ const std::string& sub_event_name,
+ const RequestFilter& filter,
+ int extra_info_spec,
+ int embedder_process_id,
+ int web_view_instance_id,
+ base::WeakPtr<IPC::Sender> ipc_sender);
// Removes the listener for the given sub-event.
void RemoveEventListener(

Powered by Google App Engine
This is Rietveld 408576698