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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 11946028: Record event activity to the extension activity log. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix for ExtensionService being unavailable during unit tests Created 7 years, 11 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/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index a1e07b23da5fceccc4d935b099bb64a640dc4f50..0337da177a76bd614a643db554af15eb721b4f88 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -1078,7 +1078,8 @@ bool ExtensionWebRequestEventRouter::DispatchEvent(
dict->Remove(keys::kResponseHeadersKey, NULL);
extensions::EventRouter::DispatchEvent(
- (*it)->ipc_sender.get(), (*it)->extension_id, (*it)->sub_event_name,
+ (*it)->ipc_sender.get(), static_cast<Profile*>(profile),
Matt Perry 2013/01/25 21:24:17 There's a reason that |profile| is a void* - so yo
mvrable 2013/01/28 16:27:36 Fixed I think--does the new version look all right
+ (*it)->extension_id, (*it)->sub_event_name,
args_filtered.Pass(), GURL(),
extensions::EventRouter::USER_GESTURE_UNKNOWN,
extensions::EventFilteringInfo());

Powered by Google App Engine
This is Rietveld 408576698