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

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

Issue 19234003: Extension activity log database refactoring (step 2) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address some reviewer comments 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/blocked_actions.h
diff --git a/chrome/browser/extensions/activity_log/blocked_actions.h b/chrome/browser/extensions/activity_log/blocked_actions.h
index 6f8bafd813c1fc570c25f9b6eb88e0150bcc3c51..e6f4beb0a9add0bdd6f58258f9addcd7b6556a5e 100644
--- a/chrome/browser/extensions/activity_log/blocked_actions.h
+++ b/chrome/browser/extensions/activity_log/blocked_actions.h
@@ -21,14 +21,6 @@ class BlockedAction : public Action {
QUOTA_EXCEEDED = 2,
};
- static const char* kTableName;
- static const char* kTableContentFields[];
- static const char* kTableFieldTypes[];
-
- // Create a new database table for storing BlockedActions, or update the
- // schema if it is out of date. Any existing data is preserved.
- static bool InitializeTable(sql::Connection* db);
-
// You must supply the id, time, api_call, and reason.
BlockedAction(const std::string& extension_id,
const base::Time& time,
@@ -37,9 +29,6 @@ class BlockedAction : public Action {
const Reason reason, // the reason it's blocked
const std::string& extra); // any extra logging info
- // Create a new BlockedAction from a database row.
- explicit BlockedAction(const sql::Statement& s);
-
// Record the action in the database.
virtual bool Record(sql::Connection* db) OVERRIDE;
« no previous file with comments | « chrome/browser/extensions/activity_log/api_actions.cc ('k') | chrome/browser/extensions/activity_log/blocked_actions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698