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

Unified Diff: chrome/browser/extensions/activity_log/counting_policy.cc

Issue 2318833003: Remove activity_log's Util::DropObsoleteTables(). (Closed)
Patch Set: Created 4 years, 3 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/counting_policy.cc
diff --git a/chrome/browser/extensions/activity_log/counting_policy.cc b/chrome/browser/extensions/activity_log/counting_policy.cc
index fec6284c523408df2568be33f707ebfbb41f1c49..d594657640759467a870a0d06e9ebe69855f8798 100644
--- a/chrome/browser/extensions/activity_log/counting_policy.cc
+++ b/chrome/browser/extensions/activity_log/counting_policy.cc
@@ -179,9 +179,6 @@ CountingPolicy::CountingPolicy(Profile* profile)
CountingPolicy::~CountingPolicy() {}
bool CountingPolicy::InitDatabase(sql::Connection* db) {
- if (!Util::DropObsoleteTables(db))
- return false;
-
if (!string_table_.Initialize(db))
return false;
if (!url_table_.Initialize(db))

Powered by Google App Engine
This is Rietveld 408576698