Home
last modified time | relevance | path

Searched refs:originIdentifier (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DQuotaTracker.cpp47 const String& originIdentifier, const String& databaseName, in getDatabaseSizeAndSpaceAvailableToOrigin() argument
53 ASSERT(m_databaseSizes.contains(originIdentifier)); in getDatabaseSizeAndSpaceAvailableToOrigin()
54 HashMap<String, SizeMap>::const_iterator it = m_databaseSizes.find(originIdentifier); in getDatabaseSizeAndSpaceAvailableToOrigin()
58 if (m_spaceAvailableToOrigins.contains(originIdentifier)) { in getDatabaseSizeAndSpaceAvailableToOrigin()
59 *spaceAvailable = m_spaceAvailableToOrigins.get(originIdentifier); in getDatabaseSizeAndSpaceAvailableToOrigin()
65 *spaceAvailable = Platform::current()->databaseGetSpaceAvailableForOrigin(originIdentifier); in getDatabaseSizeAndSpaceAvailableToOrigin()
69 const String& originIdentifier, const String& databaseName, in updateDatabaseSize() argument
73 …HashMap<String, SizeMap>::ValueType* it = m_databaseSizes.add(originIdentifier, SizeMap()).storedV… in updateDatabaseSize()
77 void QuotaTracker::updateSpaceAvailableToOrigin(const String& originIdentifier, unsigned long long … in updateSpaceAvailableToOrigin() argument
80 m_spaceAvailableToOrigins.set(originIdentifier, spaceAvailable); in updateSpaceAvailableToOrigin()
[all …]
DDatabaseTracker.cpp91 … String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin()); in addOpenDatabase() local
92 DatabaseNameMap* nameMap = m_openDatabaseMap->get(originIdentifier); in addOpenDatabase()
95 m_openDatabaseMap->set(originIdentifier, nameMap); in addOpenDatabase()
136 … String originIdentifier = createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin()); in removeOpenDatabase() local
139 DatabaseNameMap* nameMap = m_openDatabaseMap->get(originIdentifier); in removeOpenDatabase()
157 m_openDatabaseMap->remove(originIdentifier); in removeOpenDatabase()
202 …static PassOwnPtr<CloseOneDatabaseImmediatelyTask> create(const String& originIdentifier, const St… in create() argument
204 return adoptPtr(new CloseOneDatabaseImmediatelyTask(originIdentifier, name, database)); in create()
213 …CloseOneDatabaseImmediatelyTask(const String& originIdentifier, const String& name, Database* data… in CloseOneDatabaseImmediatelyTask() argument
214 : m_originIdentifier(originIdentifier.isolatedCopy()) in CloseOneDatabaseImmediatelyTask()
[all …]
DQuotaTracker.h47 const String& originIdentifier, const String& databaseName,
50 const String& originIdentifier, const String& databaseName,
52 …void updateSpaceAvailableToOrigin(const String& originIdentifier, unsigned long long spaceAvailabl…
53 void resetSpaceAvailableToOrigin(const String& originIdentifier);
DDatabaseTracker.h65 void closeDatabasesImmediately(const String& originIdentifier, const String& name);
78 void closeOneDatabaseImmediately(const String& originIdentifier, const String& name, Database*);
/external/chromium_org/third_party/WebKit/Source/web/
DWebDatabase.cpp41 void WebDatabase::updateDatabaseSize(const WebString& originIdentifier, const WebString& name, long… in updateDatabaseSize() argument
43 QuotaTracker::instance().updateDatabaseSize(originIdentifier, name, size); in updateDatabaseSize()
46 void WebDatabase::updateSpaceAvailable(const WebString& originIdentifier, long long spaceAvailable) in updateSpaceAvailable() argument
48 QuotaTracker::instance().updateSpaceAvailableToOrigin(originIdentifier, spaceAvailable); in updateSpaceAvailable()
51 void WebDatabase::resetSpaceAvailable(const WebString& originIdentifier) in resetSpaceAvailable() argument
53 QuotaTracker::instance().resetSpaceAvailableToOrigin(originIdentifier); in resetSpaceAvailable()
56 void WebDatabase::closeDatabaseImmediately(const WebString& originIdentifier, const WebString& data… in closeDatabaseImmediately() argument
58 DatabaseTracker::tracker().closeDatabasesImmediately(originIdentifier, databaseName); in closeDatabaseImmediately()
/external/chromium_org/third_party/WebKit/public/web/
DWebDatabase.h44 const WebString& originIdentifier, const WebString& name, long long size);
46 const WebString& originIdentifier, long long spaceAvailable);
48 const WebString& originIdentifier);
51 const WebString& originIdentifier, const WebString& databaseName);
/external/chromium_org/third_party/WebKit/public/platform/
DPlatform.h190 …virtual long long databaseGetSpaceAvailableForOrigin(const WebString& originIdentifier) { return 0… in databaseGetSpaceAvailableForOrigin() argument