Index: chrome/browser/extensions/activity_database.h |
diff --git a/chrome/browser/extensions/activity_database.h b/chrome/browser/extensions/activity_database.h |
index c66cf4d2de44e9d6257005e2f630a27fbb3f1232..99d9f0b55efd974b775c64369ca183ccd6f9666a 100644 |
--- a/chrome/browser/extensions/activity_database.h |
+++ b/chrome/browser/extensions/activity_database.h |
@@ -45,6 +45,9 @@ class ActivityDatabase : public base::RefCountedThreadSafe<ActivityDatabase> { |
// Record an Action in the database. |
void RecordAction(scoped_refptr<Action> action); |
+ // Break any outstanding transactions, raze the database, and close |
+ // it. Future calls on the current database handle will fail, when |
+ // next opened the database will be empty. |
void KillDatabase(); |
bool initialized() const { return initialized_; } |
@@ -72,4 +75,3 @@ class ActivityDatabase : public base::RefCountedThreadSafe<ActivityDatabase> { |
} // namespace extensions |
#endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_DATABASE_H_ |
- |