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

Unified Diff: storage/browser/quota/quota_database.h

Issue 1419573008: [sql] QuotaDatabase schema upgrade doesn't use transactions right. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « sql/connection.cc ('k') | storage/browser/quota/quota_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_database.h
diff --git a/storage/browser/quota/quota_database.h b/storage/browser/quota/quota_database.h
index 09e90b34bfeb4e28157144fae2dc5999f2240605..e95fba801dd5a148d8d895b09983a1e2c921e518 100644
--- a/storage/browser/quota/quota_database.h
+++ b/storage/browser/quota/quota_database.h
@@ -162,6 +162,8 @@ class STORAGE_EXPORT_PRIVATE QuotaDatabase {
bool EnsureDatabaseVersion();
bool ResetSchema();
bool UpgradeSchema(int current_version);
+ bool InsertOrReplaceHostQuota(
+ const std::string& host, StorageType type, int64 quota);
static bool CreateSchema(
sql::Connection* database,
« no previous file with comments | « sql/connection.cc ('k') | storage/browser/quota/quota_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698