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

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

Issue 19690003: Extension activity log database refactoring (step 3) (Closed) Base URL: http://git.chromium.org/chromium/src.git@refactor2
Patch Set: Do not set bad BlockedChromeActivityDetail::Reason values Created 7 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: chrome/browser/extensions/activity_log/activity_log_policy.h
diff --git a/chrome/browser/extensions/activity_log/activity_log_policy.h b/chrome/browser/extensions/activity_log/activity_log_policy.h
index 98bc4ba33bfa181c8131804372312aca74194254..41dfa0a96acd7935aa3ef97a6532627ffaddafb7 100644
--- a/chrome/browser/extensions/activity_log/activity_log_policy.h
+++ b/chrome/browser/extensions/activity_log/activity_log_policy.h
@@ -80,13 +80,7 @@ class ActivityLogPolicy {
// Updates the internal state of the model summarizing actions and possibly
// writes to the database. Implements the default policy storing internal
// state to memory every 5 min.
- virtual void ProcessAction(
- ActionType action_type,
- const std::string& extension_id,
- const std::string& name, // action name
- const GURL& gurl, // target URL
- const base::ListValue* args, // arguments
- const base::DictionaryValue* details) = 0; // details
+ virtual void ProcessAction(scoped_refptr<Action> action) = 0;
// Pass the parameters as a set of key-value pairs and return data back via
// a callback passing results as a set of key-value pairs. The keys are

Powered by Google App Engine
This is Rietveld 408576698