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

Unified Diff: public/platform/WebDatabaseObserver.h

Issue 660873004: Remove isSyncDatabase in WebDatabaseObserver [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed FIXME comment Created 6 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 | « Source/modules/webdatabase/Database.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDatabaseObserver.h
diff --git a/public/platform/WebDatabaseObserver.h b/public/platform/WebDatabaseObserver.h
index 59da49148d482953a03503f0bd7b8efb6fcfbdcb..9c02f6b26e270e8ba4bdbef155160a8d92adbc93 100644
--- a/public/platform/WebDatabaseObserver.h
+++ b/public/platform/WebDatabaseObserver.h
@@ -53,6 +53,50 @@ public:
virtual void reportOpenDatabaseResult(
const WebString& databaseIdentifier,
const WebString& databaseName,
+ int errorSite, int webSqlErrorCode, int sqliteErrorCode)
Mike West 2014/10/30 08:07:46 Nit: did `git cl format` agree with this structure
+ {
+ reportOpenDatabaseResult(databaseIdentifier, databaseName, false, errorSite, webSqlErrorCode, sqliteErrorCode);
+ }
+ virtual void reportChangeVersionResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
+ int errorSite, int webSqlErrorCode, int sqliteErrorCode)
+ {
+ reportChangeVersionResult(databaseIdentifier, databaseName, false, errorSite, webSqlErrorCode, sqliteErrorCode);
+ }
+ virtual void reportStartTransactionResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
+ int errorSite, int webSqlErrorCode, int sqliteErrorCode)
+ {
+ reportStartTransactionResult(databaseIdentifier, databaseName, false, errorSite, webSqlErrorCode, sqliteErrorCode);
+ }
+ virtual void reportCommitTransactionResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
+ int errorSite, int webSqlErrorCode, int sqliteErrorCode)
+ {
+ reportCommitTransactionResult(databaseIdentifier, databaseName, false, errorSite, webSqlErrorCode, sqliteErrorCode);
+ }
+ virtual void reportExecuteStatementResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
+ int errorSite, int webSqlErrorCode, int sqliteErrorCode)
+ {
+ reportExecuteStatementResult(databaseIdentifier, databaseName, false, errorSite, webSqlErrorCode, sqliteErrorCode);
+ }
+ virtual void reportVacuumDatabaseResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
+ int sqliteErrorCode)
+ {
+ reportVacuumDatabaseResult(databaseIdentifier, databaseName, false, sqliteErrorCode);
+ }
+
+ // FIXME: Remove these functions once we no longer use isSyncDatabase in Chromium.
+ virtual void reportOpenDatabaseResult(
+ const WebString& databaseIdentifier,
+ const WebString& databaseName,
bool isSyncDatabase,
int errorSite, int webSqlErrorCode, int sqliteErrorCode) { }
virtual void reportChangeVersionResult(
« no previous file with comments | « Source/modules/webdatabase/Database.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698