Index: public/platform/WebDatabaseObserver.h |
diff --git a/public/platform/WebDatabaseObserver.h b/public/platform/WebDatabaseObserver.h |
index 9c02f6b26e270e8ba4bdbef155160a8d92adbc93..a2a9262b1a3b266495b8bfcb2c4bfd60100bd07e 100644 |
--- a/public/platform/WebDatabaseObserver.h |
+++ b/public/platform/WebDatabaseObserver.h |
@@ -37,8 +37,6 @@ class WebString; |
class WebDatabaseObserver { |
public: |
- // FIXME: |isSyncDatabse| arguments are alwyas |false|. We should remove them. |
- |
virtual void databaseOpened( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
@@ -53,76 +51,27 @@ public: |
virtual void reportOpenDatabaseResult( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- int errorSite, int webSqlErrorCode, int sqliteErrorCode) |
- { |
- 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( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- bool isSyncDatabase, |
int errorSite, int webSqlErrorCode, int sqliteErrorCode) { } |
virtual void reportStartTransactionResult( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- bool isSyncDatabase, |
int errorSite, int webSqlErrorCode, int sqliteErrorCode) { } |
virtual void reportCommitTransactionResult( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- bool isSyncDatabase, |
int errorSite, int webSqlErrorCode, int sqliteErrorCode) { } |
virtual void reportExecuteStatementResult( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- bool isSyncDatabase, |
int errorSite, int webSqlErrorCode, int sqliteErrorCode) { } |
virtual void reportVacuumDatabaseResult( |
const WebString& databaseIdentifier, |
const WebString& databaseName, |
- bool isSyncDatabase, int sqliteErrorCode) { } |
+ int sqliteErrorCode) { } |
protected: |
~WebDatabaseObserver() { } |