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

Unified Diff: Source/modules/webdatabase/DatabaseBackendBase.h

Issue 561093003: Remove worker support of Web SQL Database. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/webdatabase/DatabaseBackend.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseBackendBase.h
diff --git a/Source/modules/webdatabase/DatabaseBackendBase.h b/Source/modules/webdatabase/DatabaseBackendBase.h
index 49af49760b3a8b4dd4b9a6a6d8d99dc4c24e8f9f..ac442ecf24fec7527fff2d432225364f0dacbaec 100644
--- a/Source/modules/webdatabase/DatabaseBackendBase.h
+++ b/Source/modules/webdatabase/DatabaseBackendBase.h
@@ -51,6 +51,8 @@ class DatabaseBase;
class ExecutionContext;
class SecurityOrigin;
+// FIXME: This abstraction is unnecessary because DatabaseBackendSync was
+// removed.
class DatabaseBackendBase : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseBackendBase> {
public:
virtual ~DatabaseBackendBase();
@@ -60,7 +62,6 @@ public:
bool opened() const { return m_opened; }
bool isNew() const { return m_new; }
- bool isSyncDatabase() const { return m_isSyncDatabase; }
virtual SecurityOrigin* securityOrigin() const;
virtual String stringIdentifier() const;
@@ -71,8 +72,6 @@ public:
unsigned long long maximumSize() const;
void incrementalVacuumIfNeeded();
- void interrupt();
- bool isInterrupted();
void disableAuthorizer();
void enableAuthorizer();
@@ -93,12 +92,10 @@ public:
protected:
friend class ChangeVersionWrapper;
friend class SQLStatementBackend;
- friend class SQLStatementSync;
friend class SQLTransactionBackend;
- friend class SQLTransactionBackendSync;
DatabaseBackendBase(DatabaseContext*, const String& name, const String& expectedVersion,
- const String& displayName, unsigned long estimatedSize, DatabaseType);
+ const String& displayName, unsigned long estimatedSize);
virtual bool openAndVerifyVersion(bool setVersionInNewDatabase, DatabaseError&, String& errorMessage) = 0;
virtual bool performOpenAndVerify(bool shouldSetVersionInNewDatabase, DatabaseError&, String& errorMessage);
@@ -139,7 +136,6 @@ private:
DatabaseGuid m_guid;
bool m_opened;
bool m_new;
- const bool m_isSyncDatabase;
SQLiteDatabase m_sqliteDatabase;
« no previous file with comments | « Source/modules/webdatabase/DatabaseBackend.cpp ('k') | Source/modules/webdatabase/DatabaseBackendBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698