diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h b/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h index 5202c95999e..44ffbd4424a 100644 --- a/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h +++ b/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseAuthorizer.h @@ -28,6 +28,7 @@ #ifndef DatabaseAuthorizer_h #define DatabaseAuthorizer_h +#include "platform/heap/Handle.h" #include "wtf/Forward.h" #include "wtf/HashSet.h" #include "wtf/ThreadSafeRefCounted.h" @@ -37,10 +38,9 @@ namespace WebCore { extern const int SQLAuthAllow; -extern const int SQLAuthIgnore; extern const int SQLAuthDeny; -class DatabaseAuthorizer : public ThreadSafeRefCounted<DatabaseAuthorizer> { +class DatabaseAuthorizer : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<DatabaseAuthorizer> { public: enum Permissions { @@ -49,7 +49,8 @@ public: NoAccessMask = 1 << 2 }; - static PassRefPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName); + static PassRefPtrWillBeRawPtr<DatabaseAuthorizer> create(const String& databaseInfoTableName); + void trace(Visitor*) { } int createTable(const String& tableName); int createTempTable(const String& tableName); @@ -93,7 +94,6 @@ public: void disable(); void enable(); - void setReadOnly(); void setPermissions(int permissions); void reset(); |