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

Unified Diff: chrome/browser/extensions/activity_log.h

Issue 12491012: Improved extension activity logging for the chrome.webRequest API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Support binary header values Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log.cc » ('j') | chrome/browser/extensions/activity_log.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log.h
diff --git a/chrome/browser/extensions/activity_log.h b/chrome/browser/extensions/activity_log.h
index 4c2379c199c7cc067dfeb5cc2885dc11204020db..60a90b1850ee742df64608e6d81e4dfbd06fba16 100644
--- a/chrome/browser/extensions/activity_log.h
+++ b/chrome/browser/extensions/activity_log.h
@@ -109,6 +109,14 @@ class ActivityLog : public ProfileKeyedService,
const ListValue* args, // arguments
const std::string& extra); // extra logging info
+ // Log a use of the WebRequest API to redirect, cancel, or modify page
+ // headers.
+ void LogWebRequestAction(const Extension* extension,
+ const GURL& url,
+ const std::string& api_call,
+ scoped_ptr<base::DictionaryValue> details,
+ const std::string& extra);
+
// Retrieves the list of actions for a given extension on a specific day.
// Today is 0, yesterday is 1, etc. Returns one day at a time.
// Response is sent to the method/function in the callback.
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log.cc » ('j') | chrome/browser/extensions/activity_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698