Home
last modified time | relevance | path

Searched refs:DatabaseTracker (Results 1 – 25 of 62) sorted by relevance

123

/external/webkit/Source/WebCore/storage/
DDatabaseTracker.cpp61 static DatabaseTracker* staticTracker = 0;
63 void DatabaseTracker::initializeTracker(const String& databasePath) in initializeTracker()
69 staticTracker = new DatabaseTracker(databasePath); in initializeTracker()
72 DatabaseTracker& DatabaseTracker::tracker() in tracker()
75 staticTracker = new DatabaseTracker(""); in tracker()
80 DatabaseTracker::DatabaseTracker(const String& databasePath) in DatabaseTracker() function in WebCore::DatabaseTracker
91 void DatabaseTracker::setDatabaseDirectoryPath(const String& path) in setDatabaseDirectoryPath()
98 String DatabaseTracker::databaseDirectoryPath() const in databaseDirectoryPath()
103 String DatabaseTracker::trackerDatabasePath() const in trackerDatabasePath()
108 void DatabaseTracker::openTrackerDatabase(bool createIfDoesNotExist) in openTrackerDatabase()
[all …]
DSQLTransactionClient.cpp45 DatabaseTracker::tracker().scheduleNotifyDatabaseChanged( in didCommitWriteTransaction()
51 DatabaseTracker::tracker().databaseChanged(database); in didExecuteStatement()
57 …unsigned long long currentQuota = DatabaseTracker::tracker().quotaForOrigin(database->securityOrig… in didExceedQuota()
59 …unsigned long long newQuota = DatabaseTracker::tracker().quotaForOrigin(database->securityOrigin()… in didExceedQuota()
DDatabaseSync.cpp54 … if (!DatabaseTracker::tracker().canEstablishDatabase(context, name, displayName, estimatedSize)) { in openDatabaseSync()
63 DatabaseTracker::tracker().removeOpenDatabase(database.get()); in openDatabaseSync()
67DatabaseTracker::tracker().setDatabaseDetails(context->securityOrigin(), name, displayName, estima… in openDatabaseSync()
89 DatabaseTracker::tracker().removeOpenDatabase(this); in ~DatabaseSync()
192 DatabaseTracker::tracker().removeOpenDatabase(this); in closeImmediately()
DDatabaseTracker.h59 class DatabaseTracker {
60 WTF_MAKE_NONCOPYABLE(DatabaseTracker); WTF_MAKE_FAST_ALLOCATED;
63 static DatabaseTracker& tracker();
85 DatabaseTracker(const String& databasePath);
DDatabase.cpp93 … if (!DatabaseTracker::tracker().canEstablishDatabase(context, name, displayName, estimatedSize)) { in openDatabase()
102 DatabaseTracker::tracker().removeOpenDatabase(database.get()); in openDatabase()
106DatabaseTracker::tracker().setDatabaseDetails(context->securityOrigin(), name, displayName, estima… in openDatabase()
230 DatabaseTracker::tracker().removeOpenDatabase(this); in close()
242 return DatabaseTracker::tracker().getMaxSizeForDatabase(this); in maximumSize()
DAbstractDatabase.cpp206 m_filename = DatabaseTracker::tracker().fullPathForDatabase(securityOrigin(), m_name); in AbstractDatabase()
207 DatabaseTracker::tracker().addOpenDatabase(this); in AbstractDatabase()
473 return DatabaseTracker::tracker().getMaxSizeForDatabase(this); in maximumSize()
/external/webkit/Source/WebCore/storage/chromium/
DDatabaseTrackerChromium.cpp48 DatabaseTracker& DatabaseTracker::tracker() in tracker()
50 DEFINE_STATIC_LOCAL(DatabaseTracker, tracker, ("")); in tracker()
54 DatabaseTracker::DatabaseTracker(const String&) in DatabaseTracker() function in WebCore::DatabaseTracker
59 bool DatabaseTracker::canEstablishDatabase(ScriptExecutionContext* scriptExecutionContext, const St… in canEstablishDatabase()
64 void DatabaseTracker::setDatabaseDetails(SecurityOrigin*, const String&, const String&, unsigned lo… in setDatabaseDetails()
69 String DatabaseTracker::fullPathForDatabase(SecurityOrigin* origin, const String& name, bool) in fullPathForDatabase()
74 void DatabaseTracker::addOpenDatabase(AbstractDatabase* database) in addOpenDatabase()
108 DatabaseTracker::tracker().removeOpenDatabase(m_database.get()); in performTask()
120 void DatabaseTracker::removeOpenDatabase(AbstractDatabase* database) in removeOpenDatabase()
149 void DatabaseTracker::getOpenDatabases(SecurityOrigin* origin, const String& name, HashSet<RefPtr<A… in getOpenDatabases()
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebDatabaseManager.cpp51 DatabaseTracker::initializeTracker(databaseDirectory); in initialize()
56 DatabaseTracker::tracker().setClient(this); in WebDatabaseManager()
77 DatabaseTracker::tracker().origins(origins); in getDatabasesByOrigin()
86 if (!DatabaseTracker::tracker().databaseNamesForOrigin(origins[i].get(), nameVector)) in getDatabasesByOrigin()
92 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(nameVector[j], origin… in getDatabasesByOrigin()
103 … originAndDatabases.originQuota = DatabaseTracker::tracker().quotaForOrigin(origins[i].get()); in getDatabasesByOrigin()
104 … originAndDatabases.originUsage = DatabaseTracker::tracker().usageForOrigin(origins[i].get()); in getDatabasesByOrigin()
117 DatabaseTracker::tracker().origins(origins); in getDatabaseOrigins()
135 DatabaseTracker::tracker().deleteDatabase(origin.get(), databaseIdentifier); in deleteDatabaseWithNameForOrigin()
146 DatabaseTracker::tracker().deleteOrigin(origin.get()); in deleteDatabasesForOrigin()
[all …]
/external/webkit/Source/WebKit/qt/Api/
Dqwebdatabase.cpp90 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.ge… in displayName()
103 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.ge… in expectedSize()
116 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(d->name, d->origin.ge… in size()
151 return DatabaseTracker::tracker().fullPathForDatabase(d->origin.get(), d->name, false); in fileName()
174 DatabaseTracker::tracker().deleteDatabase(db.d->origin.get(), db.d->name); in removeDatabase()
188 DatabaseTracker::tracker().deleteAllDatabases(); in removeAllDatabases()
Dqwebsecurityorigin.cpp124 return DatabaseTracker::tracker().usageForOrigin(d->origin.get()); in databaseUsage()
136 return DatabaseTracker::tracker().quotaForOrigin(d->origin.get()); in databaseQuota()
152 DatabaseTracker::tracker().setQuota(d->origin.get(), quota); in setDatabaseQuota()
186 DatabaseTracker::tracker().origins(coreOrigins); in allOrigins()
207 if (!DatabaseTracker::tracker().databaseNamesForOrigin(d->origin.get(), nameVector)) in databases()
/external/webkit/Source/WebKit/mac/Storage/
DWebDatabaseManager.mm37 #import <WebCore/DatabaseTracker.h>
65 DatabaseTracker::tracker().origins(coreOrigins);
80 if (!DatabaseTracker::tracker().databaseNamesForOrigin([origin _core], nameVector))
95 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(databaseIdentifier, […
109 DatabaseTracker::tracker().deleteAllDatabases();
114 return DatabaseTracker::tracker().deleteOrigin([origin _core]);
119 return DatabaseTracker::tracker().deleteDatabase([origin _core], databaseIdentifier);
141 DatabaseTracker::initializeTracker(databasesDirectoryPath());
144DatabaseTracker::tracker().setClient(WebDatabaseTrackerClient::sharedWebDatabaseTrackerClient());
DWebDatabaseQuotaManager.mm29 #import <WebCore/DatabaseTracker.h>
53 return DatabaseTracker::tracker().usageForOrigin([_origin _core]);
62 return DatabaseTracker::tracker().quotaForOrigin([_origin _core]);
74 DatabaseTracker::tracker().setQuota([_origin _core], quota);
/external/webkit/Source/WebKit/win/
DWebDatabaseManager.cpp205 DatabaseTracker::tracker().setClient(s_sharedWebDatabaseManager.get()); in sharedWebDatabaseManager()
223 DatabaseTracker::tracker().origins(origins); in origins()
247DatabaseTracker::tracker().databaseNamesForOrigin(webSecurityOrigin->securityOrigin(), databaseNam… in databasesWithOrigin()
272 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(String(databaseName, … in detailsForDatabase()
287 DatabaseTracker::tracker().deleteAllDatabases(); in deleteAllDatabases()
305 DatabaseTracker::tracker().deleteOrigin(webSecurityOrigin->securityOrigin()); in deleteOrigin()
327DatabaseTracker::tracker().deleteDatabase(webSecurityOrigin->securityOrigin(), String(databaseName… in deleteDatabase()
384 DatabaseTracker::tracker().setQuota(SecurityOrigin::createFromString(origin).get(), quota); in setQuota()
420 WebCore::DatabaseTracker::initializeTracker(databasesDirectory); in WebKitInitializeWebDatabasesIfNecessary()
DWebSecurityOrigin.cpp137 *result = DatabaseTracker::tracker().usageForOrigin(m_securityOrigin.get()); in usage()
153 *result = DatabaseTracker::tracker().quotaForOrigin(m_securityOrigin.get()); in quota()
165 DatabaseTracker::tracker().setQuota(m_securityOrigin.get(), quota); in setQuota()
/external/webkit/Source/WebKit/android/jni/
DWebStorage.cpp46 WebCore::DatabaseTracker::tracker().origins(coreOrigins); in GetOrigins()
79 …unsigned long long quota = WebCore::DatabaseTracker::tracker().quotaForOrigin(securityOrigin.get()… in GetQuotaForOrigin()
87 …unsigned long long usage = WebCore::DatabaseTracker::tracker().usageForOrigin(securityOrigin.get()… in GetUsageForOrigin()
109 WebCore::DatabaseTracker::tracker().setQuota(securityOrigin.get(), quota); in SetQuotaForOrigin()
116 WebCore::DatabaseTracker::tracker().deleteOrigin(securityOrigin.get()); in DeleteOrigin()
133 WebCore::DatabaseTracker::tracker().deleteAllDatabases(); in DeleteAllData()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebdatabase.cpp330 …WebCore::DatabaseDetails details = WebCore::DatabaseTracker::tracker().detailsForNameAndOrigin(pri… in webkit_web_database_get_display_name()
362 …WebCore::DatabaseDetails details = WebCore::DatabaseTracker::tracker().detailsForNameAndOrigin(pri… in webkit_web_database_get_expected_size()
385 …WebCore::DatabaseDetails details = WebCore::DatabaseTracker::tracker().detailsForNameAndOrigin(pri… in webkit_web_database_get_size()
409 …WTF::String corePath = WebCore::DatabaseTracker::tracker().fullPathForDatabase(core(priv->origin),… in webkit_web_database_get_filename()
438 WebCore::DatabaseTracker::tracker().deleteDatabase(core(priv->origin), priv->name); in webkit_web_database_remove()
452 WebCore::DatabaseTracker::tracker().deleteAllDatabases(); in webkit_remove_all_web_databases()
470 WTF::String path = WebCore::DatabaseTracker::tracker().databaseDirectoryPath(); in webkit_get_web_database_directory_path()
496 WebCore::DatabaseTracker::tracker().setDatabaseDirectoryPath(corePath); in webkit_set_web_database_directory_path()
Dwebkitsecurityorigin.cpp301 return WebCore::DatabaseTracker::tracker().usageForOrigin(coreOrigin); in webkit_security_origin_get_web_database_usage()
324 return WebCore::DatabaseTracker::tracker().quotaForOrigin(coreOrigin); in webkit_security_origin_get_web_database_quota()
345 WebCore::DatabaseTracker::tracker().setQuota(coreOrigin, quota); in webkit_security_origin_set_web_database_quota()
369 if (!WebCore::DatabaseTracker::tracker().databaseNamesForOrigin(coreOrigin, databaseNames)) in webkit_security_origin_get_all_web_databases()
/external/chromium/chrome/browser/extensions/
Dextension_data_deleter.h15 class DatabaseTracker; variable
71 scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebSecurityOrigin.mm35 #import <WebCore/DatabaseTracker.h>
159 // NOTE: the <WebCore/DatabaseTracker.h> #include should be removed as well.
166 return DatabaseTracker::tracker().usageForOrigin(reinterpret_cast<SecurityOrigin*>(_private));
175 return DatabaseTracker::tracker().quotaForOrigin(reinterpret_cast<SecurityOrigin*>(_private));
184 DatabaseTracker::tracker().setQuota(reinterpret_cast<SecurityOrigin*>(_private), quota);
/external/chromium/chrome/browser/profiles/
Dprofile_io_data.h45 class DatabaseTracker; variable
109 scoped_refptr<webkit_database::DatabaseTracker> database_tracker;
219 mutable scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
Dprofile.cc202 &webkit_database::DatabaseTracker::DeleteIncognitoDBDirectory)); in ~OffTheRecordProfileImpl()
254 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() { in GetDatabaseTracker()
256 db_tracker_ = new webkit_database::DatabaseTracker( in GetDatabaseTracker()
727 scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
/external/chromium/chrome/browser/
Dbrowsing_data_remover.h33 class DatabaseTracker; variable
190 scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
/external/webkit/Source/WebKit/efl/WebCoreSupport/
DChromeClientEfl.cpp412 …DatabaseDetails details = DatabaseTracker::tracker().detailsForNameAndOrigin(databaseName, origin); in exceededDatabaseQuota()
420 if (!quota && !DatabaseTracker::tracker().hasEntryForOrigin(origin)) in exceededDatabaseQuota()
423 DatabaseTracker::tracker().setQuota(origin, quota); in exceededDatabaseQuota()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DChromeClientAndroid.cpp381 DatabaseTracker& tracker = WebCore::DatabaseTracker::tracker(); in exceededDatabaseQuota()
436 DatabaseTracker& tracker = WebCore::DatabaseTracker::tracker(); in tryToReclaimDatabaseQuota()
/external/webkit/Source/WebKit/chromium/src/
DWebDatabase.cpp110 DatabaseTracker::tracker().getOpenDatabases(origin.get(), databaseName, &databaseHandles); in closeDatabaseImmediately()

123