/external/webkit/Source/WebCore/storage/ |
DatabaseSync.h | 57 const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback>, ExceptionCode&); 67 const String& displayName, unsigned long estimatedSize);
|
DatabaseSync.cpp | 50 unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec) 54 if (!DatabaseTracker::tracker().canEstablishDatabase(context, name, displayName, estimatedSize)) { 59 RefPtr<DatabaseSync> database = adoptRef(new DatabaseSync(context, name, expectedVersion, displayName, estimatedSize)); 67 DatabaseTracker::tracker().setDatabaseDetails(context->securityOrigin(), name, displayName, estimatedSize); 79 const String& displayName, unsigned long estimatedSize) 80 : AbstractDatabase(context, name, expectedVersion, displayName, estimatedSize)
|
AbstractDatabase.h | 65 virtual unsigned long estimatedSize() const; 95 const String& displayName, unsigned long estimatedSize);
|
Database.h | 58 unsigned long estimatedSize, PassRefPtr<DatabaseCallback>, ExceptionCode&); 92 const String& displayName, unsigned long estimatedSize);
|
Database.cpp | 90 unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, 93 if (!DatabaseTracker::tracker().canEstablishDatabase(context, name, displayName, estimatedSize)) { 98 RefPtr<Database> database = adoptRef(new Database(context, name, expectedVersion, displayName, estimatedSize)); 106 DatabaseTracker::tracker().setDatabaseDetails(context->securityOrigin(), name, displayName, estimatedSize); 125 Database::Database(ScriptExecutionContext* context, const String& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize) 126 : AbstractDatabase(context, name, expectedVersion, displayName, estimatedSize)
|
DatabaseTracker.h | 71 bool canEstablishDatabase(ScriptExecutionContext*, const String& name, const String& displayName, unsigned long estimatedSize); 72 void setDatabaseDetails(SecurityOrigin*, const String& name, const String& displayName, unsigned long estimatedSize);
|
AbstractDatabase.cpp | 175 const String& displayName, unsigned long estimatedSize) 180 , m_estimatedSize(estimatedSize) 349 unsigned long AbstractDatabase::estimatedSize() const
|
DatabaseTracker.cpp | 132 if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, origin TEXT, name TEXT, displayName TEXT, estimatedSize INTEGER, path TEXT);")) { 139 bool DatabaseTracker::canEstablishDatabase(ScriptExecutionContext* context, const String& name, const String& displayName, unsigned long estimatedSize) 163 requirement = usage + max(1UL, estimatedSize); 174 details = ProposedDatabase(origin->threadsafeCopy(), DatabaseDetails(name.threadsafeCopy(), displayName.threadsafeCopy(), estimatedSize, 0)); 428 SQLiteStatement statement(m_database, "SELECT displayName, estimatedSize FROM Databases WHERE origin=? AND name=?"); 450 void DatabaseTracker::setDatabaseDetails(SecurityOrigin* origin, const String& name, const String& displayName, unsigned long estimatedSize) 485 SQLiteStatement updateStatement(m_database, "UPDATE Databases SET displayName=?, estimatedSize=? WHERE guid=?"); 490 updateStatement.bindInt64(2, estimatedSize); [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
DatabaseObserver.cpp | 52 bool DatabaseObserver::canEstablishDatabase(ScriptExecutionContext* scriptExecutionContext, const String& name, const String& displayName, unsigned long estimatedSize) 59 return webFrame->client()->allowDatabase(webFrame, name, displayName, estimatedSize); 64 return webWorker->allowDatabase(0, name, displayName, estimatedSize);
|
WebDatabase.cpp | 49 unsigned long long estimatedSize() const { return 0; } 73 unsigned long WebDatabase::estimatedSize() const 76 return m_database->estimatedSize();
|
WebWorkerBase.cpp | 70 static PassRefPtr<AllowDatabaseMainThreadBridge> create(WebWorkerBase* worker, const WTF::String& mode, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String& name, const WTF::String& displayName, unsigned long estimatedSize) 72 return adoptRef(new AllowDatabaseMainThreadBridge(worker, mode, commonClient, frame, name, displayName, estimatedSize)); 96 AllowDatabaseMainThreadBridge(WebWorkerBase* worker, const WTF::String& mode, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String& name, const WTF::String& displayName, unsigned long estimatedSize) 100 worker->dispatchTaskToMainThread(createCallbackTask(&allowDatabaseTask, commonClient, frame, String(name), String(displayName), estimatedSize, this)); 103 static void allowDatabaseTask(WebCore::ScriptExecutionContext* context, WebCommonWorkerClient* commonClient, WebFrame* frame, const WTF::String name, const WTF::String displayName, unsigned long estimatedSize, PassRefPtr<AllowDatabaseMainThreadBridge> bridge) 108 bridge->signalCompleted(commonClient->allowDatabase(frame, name, displayName, estimatedSize)); 218 bool WebWorkerBase::allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize) 228 RefPtr<AllowDatabaseMainThreadBridge> bridge = AllowDatabaseMainThreadBridge::create(this, mode, commonClient(), m_webView->mainFrame(), String(name), String(displayName), estimatedSize);
|
WebWorkerBase.h | 92 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize);
|
WebWorkerClientImpl.h | 97 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize)
|
/external/webkit/Source/WebKit/chromium/public/ |
WebDatabase.h | 48 WEBKIT_API unsigned long estimatedSize() const;
|
WebCommonWorkerClient.h | 87 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize) = 0;
|
WebFrameClient.h | 299 virtual bool allowDatabase(WebFrame*, const WebString& name, const WebString& displayName, unsigned long estimatedSize) { return true; }
|
/packages/apps/Browser/src/com/android/browser/ |
WebStorageSizeManager.java | 214 * @param estimatedSize the estimated size of a new database, or 0 if 222 String databaseIdentifier, long currentQuota, long estimatedSize, 261 // If we cannot satisfy the estimatedSize, we should return 0 as 264 if (totalUnusedQuota >= estimatedSize) { 265 newOriginQuota = estimatedSize; 270 " estimatedSize for the new database " + 271 " (estimatedSize: " + estimatedSize + 281 // Increase the quota. If estimatedSize == 0, then this is a quota overflow 283 long quotaIncrease = estimatedSize == 0 [all...] |
/external/webkit/Source/WebCore/storage/chromium/ |
DatabaseTrackerChromium.cpp | 59 bool DatabaseTracker::canEstablishDatabase(ScriptExecutionContext* scriptExecutionContext, const String& name, const String& displayName, unsigned long estimatedSize) 61 return DatabaseObserver::canEstablishDatabase(scriptExecutionContext, name, displayName, estimatedSize);
|
/external/webkit/Source/WebCore/workers/ |
WorkerContext.h | 115 PassRefPtr<Database> openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&); 116 PassRefPtr<DatabaseSync> openDatabaseSync(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
|
WorkerContext.idl | 53 [EnabledAtRuntime, RequiresAllArguments=Raise] Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback) 55 [EnabledAtRuntime, RequiresAllArguments=Raise] DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize, in [Callback, Optional] DatabaseCallback creationCallback)
|
WorkerContext.cpp | 293 PassRefPtr<Database> WorkerContext::openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec) 300 return Database::openDatabase(this, name, version, displayName, estimatedSize, creationCallback, ec); 312 PassRefPtr<DatabaseSync> WorkerContext::openDatabaseSync(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec) 319 return DatabaseSync::openDatabaseSync(this, name, version, displayName, estimatedSize, creationCallback, ec);
|
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebChromeClient.java | 135 long currentQuota, long estimatedSize, long totalUsedQuota, 138 estimatedSize, totalUsedQuota, quotaUpdater);
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
ChromeClientAndroid.cpp | 411 unsigned long long estimatedSize = 0; 413 // Only update estimatedSize if we are trying to create a a new database, i.e. the usage for the database is 0. 415 estimatedSize = tracker.detailsForNameAndOrigin(name, origin).expectedUsage(); 417 if (android::WebViewCore::getWebViewCore(frame->view())->exceededDatabaseQuota(frame->document()->documentURI(), name, currentQuota, estimatedSize)) { 443 if (reclaimedQuotaBytes >= estimatedSize) {
|
/external/icu4c/i18n/ |
ucol_tok.cpp | [all...] |
/external/webkit/Source/WebCore/page/ |
DOMWindow.h | 368 PassRefPtr<Database> openDatabase(const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode&);
|