Index: chrome/browser/extensions/activity_actions.h |
diff --git a/chrome/browser/extensions/activity_actions.h b/chrome/browser/extensions/activity_actions.h |
index ac8d9acf848bb46c920eca144845467f8b828e26..1c89163557fcd6fc0974b99d09f793b4e3ae7305 100644 |
--- a/chrome/browser/extensions/activity_actions.h |
+++ b/chrome/browser/extensions/activity_actions.h |
@@ -18,6 +18,9 @@ namespace extensions { |
// the activity log. |
class Action : public base::RefCountedThreadSafe<Action> { |
public: |
+ // Initialize the table for a given action type. |
+ static bool InitializeTableInternal(sql::Connection* db); |
+ |
// Record the action in the database. |
virtual void Record(sql::Connection* db) = 0; |
@@ -31,6 +34,13 @@ class Action : public base::RefCountedThreadSafe<Action> { |
Action() {} |
virtual ~Action() {} |
+ // Initialize the table for a given action type. |
+ static bool InitializeTableInternal(sql::Connection* db, |
+ const char* table_name, |
+ const char* basic_fields, |
+ const char* content_fields[], |
+ const int num_content_fields); |
+ |
private: |
friend class base::RefCountedThreadSafe<Action>; |