Index: third_party/WebKit/Source/modules/webdatabase/QuotaTracker.h |
diff --git a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.h b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.h |
index eb37a9d2d0c2bae38a01a02bd3cae24a00da32f8..9c64ab23a52c69f4f9ea27b57d3e23f4e3987c2f 100644 |
--- a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.h |
+++ b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.h |
@@ -32,7 +32,6 @@ |
#define QuotaTracker_h |
#include "modules/ModulesExport.h" |
-#include "platform/weborigin/SecurityOrigin.h" |
#include "wtf/HashMap.h" |
#include "wtf/ThreadingPrimitives.h" |
#include "wtf/text/StringHash.h" |
@@ -40,6 +39,8 @@ |
namespace blink { |
+class SecurityOrigin; |
+ |
class MODULES_EXPORT QuotaTracker { |
USING_FAST_MALLOC(QuotaTracker); |
WTF_MAKE_NONCOPYABLE(QuotaTracker); |
@@ -47,13 +48,13 @@ public: |
static QuotaTracker& instance(); |
void getDatabaseSizeAndSpaceAvailableToOrigin( |
- const String& originIdentifier, const String& databaseName, |
+ SecurityOrigin*, const String& databaseName, |
unsigned long long* databaseSize, unsigned long long* spaceAvailable); |
void updateDatabaseSize( |
- const String& originIdentifier, const String& databaseName, |
+ SecurityOrigin*, const String& databaseName, |
unsigned long long databaseSize); |
- void updateSpaceAvailableToOrigin(const String& originIdentifier, unsigned long long spaceAvailable); |
- void resetSpaceAvailableToOrigin(const String& originIdentifier); |
+ void updateSpaceAvailableToOrigin(SecurityOrigin*, unsigned long long spaceAvailable); |
+ void resetSpaceAvailableToOrigin(SecurityOrigin*); |
private: |
QuotaTracker() { } |