/external/chromium_org/third_party/sqlite/src/test/ |
D | quota.test | 19 do_test quota-1.1 { sqlite3_quota_initialize nosuchvfs 1 } {SQLITE_ERROR} 20 do_test quota-1.2 { sqlite3_quota_initialize "" 1 } {SQLITE_OK} 21 do_test quota-1.3 { sqlite3_quota_initialize "" 1 } {SQLITE_MISUSE} 22 do_test quota-1.4 { sqlite3_quota_shutdown } {SQLITE_OK} 24 do_test quota-1.5 { sqlite3_quota_initialize "" 0 } {SQLITE_OK} 25 do_test quota-1.6 { sqlite3_quota_shutdown } {SQLITE_OK} 26 do_test quota-1.7 { sqlite3_quota_initialize "" 1 } {SQLITE_OK} 27 do_test quota-1.8 { sqlite3_quota_shutdown } {SQLITE_OK} 34 # quota-2.1.*: Test that SQLITE_FULL is returned if the database would 35 # exceed the configured quota. [all …]
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | browsing_data_quota_helper_unittest.cc | 34 quota_manager_ = new quota::QuotaManager( in SetUp() 69 void RegisterClient(const quota::MockOriginData* data, std::size_t data_len) { in RegisterClient() 70 quota::MockStorageClient* client = in RegisterClient() 71 new quota::MockStorageClient( in RegisterClient() 72 quota_manager_->proxy(), data, quota::QuotaClient::kFileSystem, in RegisterClient() 78 void SetPersistentHostQuota(const std::string& host, int64 quota) { in SetPersistentHostQuota() argument 81 host, quota, in SetPersistentHostQuota() 94 void GotPersistentHostQuota(quota::QuotaStatusCode status, in GotPersistentHostQuota() 95 int64 quota) { in GotPersistentHostQuota() argument 96 EXPECT_EQ(quota::kQuotaStatusOk, status); in GotPersistentHostQuota() [all …]
|
D | browsing_data_quota_helper_impl.cc | 60 quota::QuotaManager* quota_manager) in BrowsingDataQuotaHelperImpl() 81 quota::kStorageTypeTemporary, in FetchQuotaInfo() 88 const std::set<GURL>& origins, quota::StorageType type) { in GotOrigins() 95 DCHECK(type == quota::kStorageTypeTemporary || in GotOrigins() 96 type == quota::kStorageTypePersistent || in GotOrigins() 97 type == quota::kStorageTypeSyncable); in GotOrigins() 100 if (type == quota::kStorageTypeTemporary) { in GotOrigins() 102 quota::kStorageTypePersistent, in GotOrigins() 106 } else if (type == quota::kStorageTypePersistent) { in GotOrigins() 108 quota::kStorageTypeSyncable, in GotOrigins() [all …]
|
D | browsing_data_quota_helper_impl.h | 21 namespace quota { 36 quota::QuotaManager* quota_manager); 42 void GotOrigins(const std::set<GURL>& origins, quota::StorageType type); 45 void GetHostUsage(const std::string& host, quota::StorageType type); 49 quota::StorageType type, 53 void DidRevokeHostQuota(quota::QuotaStatusCode status, int64 quota); 55 scoped_refptr<quota::QuotaManager> quota_manager_; 58 typedef std::set<std::pair<std::string, quota::StorageType> > PendingHosts;
|
/external/chromium_org/content/browser/ |
D | quota_dispatcher_host.cc | 15 using quota::QuotaClient; 16 using quota::QuotaManager; 17 using quota::QuotaStatusCode; 18 using quota::StorageType; 46 quota::QuotaManager* quota_manager() const { in quota_manager() 81 QuotaStatusCode status, int64 usage, int64 quota) { in DidQueryStorageUsageAndQuota() argument 84 if (status != quota::kQuotaStatusOk) { in DidQueryStorageUsageAndQuota() 88 request_id(), usage, quota)); in DidQueryStorageUsageAndQuota() 119 DCHECK(type_ == quota::kStorageTypeTemporary || in Start() 120 type_ == quota::kStorageTypePersistent || in Start() [all …]
|
D | storage_partition_impl.cc | 75 quota::StorageType type, in OnQuotaManagedOriginDeleted() 78 quota::QuotaStatusCode status) { in OnQuotaManagedOriginDeleted() 81 if (status != quota::kQuotaStatusOk) { in OnQuotaManagedOriginDeleted() 111 const scoped_refptr<quota::SpecialStoragePolicy>& special_storage_policy, in OnLocalStorageUsageInfo() 135 const scoped_refptr<quota::SpecialStoragePolicy>& special_storage_policy, in OnSessionStorageUsageInfo() 154 const scoped_refptr<quota::SpecialStoragePolicy>& special_storage_policy, in ClearLocalStorageOnUIThread() 181 const scoped_refptr<quota::SpecialStoragePolicy>& special_storage_policy, in ClearSessionStorageOnUIThread() 199 quota_client_mask |= quota::QuotaClient::kFileSystem; in GenerateQuotaClientMask() 201 quota_client_mask |= quota::QuotaClient::kDatabase; in GenerateQuotaClientMask() 203 quota_client_mask |= quota::QuotaClient::kAppcache; in GenerateQuotaClientMask() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
D | quota_internals_proxy.h | 38 void RequestInfo(scoped_refptr<quota::QuotaManager> quota_manager); 46 typedef quota::QuotaManager::QuotaTableEntries QuotaTableEntries; 47 typedef quota::QuotaManager::OriginInfoTableEntries OriginInfoTableEntries; 58 void DidGetAvailableSpace(quota::QuotaStatusCode status, int64 space); 59 void DidGetGlobalQuota(quota::StorageType type, 60 quota::QuotaStatusCode status, 61 int64 quota); 62 void DidGetGlobalUsage(quota::StorageType type, 68 quota::StorageType type, 72 void RequestPerOriginInfo(quota::StorageType type); [all …]
|
D | quota_internals_proxy.cc | 25 scoped_refptr<quota::QuotaManager> quota_manager) { in RequestInfo() 41 weak_factory_.GetWeakPtr(), quota::kStorageTypeTemporary)); in RequestInfo() 44 quota::kStorageTypeTemporary, in RequestInfo() 47 quota::kStorageTypeTemporary)); in RequestInfo() 50 quota::kStorageTypePersistent, in RequestInfo() 53 quota::kStorageTypePersistent)); in RequestInfo() 56 quota::kStorageTypeSyncable, in RequestInfo() 59 quota::kStorageTypeSyncable)); in RequestInfo() 98 void QuotaInternalsProxy::DidGetAvailableSpace(quota::QuotaStatusCode status, in RELAY_TO_HANDLER() 100 if (status == quota::kQuotaStatusOk) in RELAY_TO_HANDLER() [all …]
|
D | quota_internals_types.h | 24 explicit GlobalStorageInfo(quota::StorageType type); 35 void set_quota(int64 quota) { in set_quota() argument 36 quota_ = quota; in set_quota() 43 quota::StorageType type_; 53 PerHostStorageInfo(const std::string& host, quota::StorageType type); 60 void set_quota(int64 quota) { in set_quota() argument 61 quota_ = quota; in set_quota() 69 quota::StorageType type_; 78 PerOriginStorageInfo(const GURL& origin, quota::StorageType type); 102 quota::StorageType type_;
|
D | quota_internals_types.cc | 14 std::string StorageTypeToString(quota::StorageType type) { in StorageTypeToString() 16 case quota::kStorageTypeTemporary: in StorageTypeToString() 18 case quota::kStorageTypePersistent: in StorageTypeToString() 20 case quota::kStorageTypeSyncable: in StorageTypeToString() 22 case quota::kStorageTypeQuotaNotManaged: in StorageTypeToString() 24 case quota::kStorageTypeUnknown: in StorageTypeToString() 34 GlobalStorageInfo::GlobalStorageInfo(quota::StorageType type) in GlobalStorageInfo() 55 quota::StorageType type) in PerHostStorageInfo() 74 quota::StorageType type) in PerOriginStorageInfo()
|
/external/chromium_org/webkit/browser/appcache/ |
D | appcache_quota_client_unittest.cc | 19 static const quota::StorageType kTemp = quota::kStorageTypeTemporary; 20 static const quota::StorageType kPerm = quota::kStorageTypePersistent; 34 delete_status_(quota::kQuotaStatusUnknown), in AppCacheQuotaClientTest() 42 quota::QuotaClient* client, in GetOriginUsage() 44 quota::StorageType type) { in GetOriginUsage() 52 quota::QuotaClient* client, in GetOriginsForType() 53 quota::StorageType type) { in GetOriginsForType() 61 quota::QuotaClient* client, in GetOriginsForHost() 62 quota::StorageType type, in GetOriginsForHost() 70 quota::QuotaStatusCode DeleteOriginData( in DeleteOriginData() [all …]
|
D | appcache_quota_client.cc | 15 using quota::QuotaClient; 18 quota::QuotaStatusCode NetErrorCodeToQuotaStatus(int code) { in NetErrorCodeToQuotaStatus() 20 return quota::kQuotaStatusOk; in NetErrorCodeToQuotaStatus() 22 return quota::kQuotaErrorAbort; in NetErrorCodeToQuotaStatus() 24 return quota::kQuotaStatusUnknown; in NetErrorCodeToQuotaStatus() 66 quota::StorageType type, in GetOriginUsage() 83 if (type != quota::kStorageTypeTemporary) { in GetOriginUsage() 98 quota::StorageType type, in GetOriginsForType() 104 quota::StorageType type, in GetOriginsForHost() 116 quota::StorageType type, in DeleteOriginData() [all …]
|
D | appcache_quota_client.h | 33 class AppCacheQuotaClient : public quota::QuotaClient { 43 quota::StorageType type, 45 virtual void GetOriginsForType(quota::StorageType type, 47 virtual void GetOriginsForHost(quota::StorageType type, 51 quota::StorageType type, 53 virtual bool DoesSupport(quota::StorageType type) const OVERRIDE; 64 void GetOriginsHelper(quota::StorageType type,
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_quota_client.cc | 15 using quota::QuotaClient; 21 quota::QuotaStatusCode DeleteOriginDataOnIndexedDBThread( in DeleteOriginDataOnIndexedDBThread() 25 return quota::kQuotaStatusOk; in DeleteOriginDataOnIndexedDBThread() 75 quota::StorageType type, in GetOriginUsage() 81 if (type != quota::kStorageTypeTemporary) { in GetOriginUsage() 101 quota::StorageType type, in GetOriginsForType() 107 if (type != quota::kStorageTypeTemporary) { in GetOriginsForType() 128 quota::StorageType type, in GetOriginsForHost() 135 if (type != quota::kStorageTypeTemporary) { in GetOriginsForHost() 157 quota::StorageType type, in DeleteOriginData() [all …]
|
D | indexed_db_quota_client_unittest.cc | 25 static const quota::StorageType kTemp = quota::kStorageTypeTemporary; 26 static const quota::StorageType kPerm = quota::kStorageTypePersistent; 46 scoped_refptr<quota::QuotaManager> quota_manager = in IndexedDBQuotaClientTest() 47 new quota::MockQuotaManager( in IndexedDBQuotaClientTest() 80 int64 GetOriginUsage(quota::QuotaClient* client, in GetOriginUsage() 82 quota::StorageType type) { in GetOriginUsage() 95 const std::set<GURL>& GetOriginsForType(quota::QuotaClient* client, in GetOriginsForType() 96 quota::StorageType type) { in GetOriginsForType() 107 const std::set<GURL>& GetOriginsForHost(quota::QuotaClient* client, in GetOriginsForHost() 108 quota::StorageType type, in GetOriginsForHost() [all …]
|
D | indexed_db_quota_client.h | 25 class IndexedDBQuotaClient : public quota::QuotaClient, 26 public quota::QuotaTaskObserver { 36 quota::StorageType type, 38 virtual void GetOriginsForType(quota::StorageType type, 40 virtual void GetOriginsForHost(quota::StorageType type, 44 quota::StorageType type, 46 virtual bool DoesSupport(quota::StorageType type) const OVERRIDE;
|
D | indexed_db_context_impl.h | 30 namespace quota { 44 quota::SpecialStoragePolicy* special_storage_policy, in NON_EXPORTED_BASE() 45 quota::QuotaManagerProxy* quota_manager_proxy, in NON_EXPORTED_BASE() 73 quota::QuotaManagerProxy* quota_manager_proxy(); in NON_EXPORTED_BASE() 112 quota::QuotaStatusCode, in NON_EXPORTED_BASE() 114 int64 quota); in NON_EXPORTED_BASE() 115 void GotUpdatedQuota(const GURL& origin_url, int64 usage, int64 quota); in NON_EXPORTED_BASE() 133 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; in NON_EXPORTED_BASE() 134 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; in NON_EXPORTED_BASE()
|
/external/chromium_org/webkit/browser/database/ |
D | database_quota_client.cc | 21 using quota::QuotaClient; 83 quota::QuotaStatusCode status; in DidDeleteOriginData() 85 status = quota::kQuotaStatusOk; in DidDeleteOriginData() 87 status = quota::kQuotaStatusUnknown; in DidDeleteOriginData() 124 quota::StorageType type, in GetOriginUsage() 130 if (type != quota::kStorageTypeTemporary) { in GetOriginUsage() 143 quota::StorageType type, in GetOriginsForType() 149 if (type != quota::kStorageTypeTemporary) { in GetOriginsForType() 166 quota::StorageType type, in GetOriginsForHost() 173 if (type != quota::kStorageTypeTemporary) { in GetOriginsForHost() [all …]
|
D | database_quota_client_unittest.cc | 23 static const quota::StorageType kTemp = quota::kStorageTypeTemporary; 24 static const quota::StorageType kPerm = quota::kStorageTypePersistent; 137 quota::QuotaClient* client, in GetOriginUsage() 139 quota::StorageType type) { in GetOriginUsage() 150 quota::QuotaClient* client, in GetOriginsForType() 151 quota::StorageType type) { in GetOriginsForType() 162 quota::QuotaClient* client, in GetOriginsForHost() 163 quota::StorageType type, in GetOriginsForHost() 175 quota::QuotaClient* client, in DeleteOriginData() 176 quota::StorageType type, in DeleteOriginData() [all …]
|
D | database_quota_client.h | 25 : public quota::QuotaClient { 36 quota::StorageType type, 38 virtual void GetOriginsForType(quota::StorageType type, 40 virtual void GetOriginsForHost(quota::StorageType type, 44 quota::StorageType type, 46 virtual bool DoesSupport(quota::StorageType type) const OVERRIDE;
|
/external/chromium_org/android_webview/native/ |
D | aw_quota_manager_bridge_impl.cc | 25 using quota::QuotaClient; 26 using quota::QuotaManager; 49 quota::StorageType type); 52 quota::QuotaStatusCode status_code, 54 int64 quota); 89 quota::kStorageTypeTemporary, in Run() 95 const std::set<GURL>& origins, quota::StorageType type) { in OnOriginsObtained() 113 quota::QuotaStatusCode status_code, in OnUsageAndQuotaObtained() 115 int64 quota) { in OnUsageAndQuotaObtained() argument 117 if (status_code == quota::kQuotaStatusOk) { in OnUsageAndQuotaObtained() [all …]
|
/external/chromium_org/webkit/ |
D | storage_browser.gyp | 155 'browser/fileapi/quota/open_file_handle.cc', 156 'browser/fileapi/quota/open_file_handle.h', 157 'browser/fileapi/quota/open_file_handle_context.cc', 158 'browser/fileapi/quota/open_file_handle_context.h', 159 'browser/fileapi/quota/quota_backend_impl.cc', 160 'browser/fileapi/quota/quota_backend_impl.h', 161 'browser/fileapi/quota/quota_reservation.cc', 162 'browser/fileapi/quota/quota_reservation.h', 163 'browser/fileapi/quota/quota_reservation_buffer.cc', 164 'browser/fileapi/quota/quota_reservation_buffer.h', [all …]
|
/external/chromium_org/webkit/browser/fileapi/ |
D | file_system_quota_client.h | 35 : public NON_EXPORTED_BASE(quota::QuotaClient) { in NON_EXPORTED_BASE() 43 virtual quota::QuotaClient::ID id() const OVERRIDE; in NON_EXPORTED_BASE() 46 quota::StorageType type, in NON_EXPORTED_BASE() 49 quota::StorageType type, in NON_EXPORTED_BASE() 52 quota::StorageType type, in NON_EXPORTED_BASE() 57 quota::StorageType type, in NON_EXPORTED_BASE() 59 virtual bool DoesSupport(quota::StorageType type) const OVERRIDE; in NON_EXPORTED_BASE()
|
/external/chromium_org/content/common/ |
D | quota_messages.h | 14 IPC_ENUM_TRAITS(quota::StorageType) 15 IPC_ENUM_TRAITS(quota::QuotaStatusCode) 30 quota::QuotaStatusCode /* error */) 37 quota::StorageType /* type */) 43 quota::StorageType /* type */,
|
/external/chromium_org/content/child/ |
D | quota_dispatcher.cc | 18 using quota::QuotaStatusCode; 19 using quota::StorageType; 42 virtual void DidQueryStorageUsageAndQuota(int64 usage, int64 quota) OVERRIDE { in DidQueryStorageUsageAndQuota() argument 43 callbacks_->didQueryStorageUsageAndQuota(usage, quota); in DidQueryStorageUsageAndQuota() 48 virtual void DidFail(quota::QuotaStatusCode error) OVERRIDE { in DidFail() 73 iter.GetCurrentValue()->DidFail(quota::kQuotaErrorAbort); in ~QuotaDispatcher() 171 int(quota::kStorageTypeTemporary), mismatching_enums); 173 int(quota::kStorageTypePersistent), mismatching_enums); 176 int(quota::kQuotaErrorNotSupported), mismatching_enums); 178 int(quota::kQuotaErrorAbort), mismatching_enums);
|