/external/chromium_org/chrome/browser/ |
chrome_quota_permission_context.cc | 25 #include "webkit/common/quota/quota_types.h" 35 // Creates a request quota infobar delegate and adds it to |infobar_service|. 113 // If the site requested larger quota than this threshold, show a different 147 quota::StorageType type, 152 if (type != quota::kStorageTypePersistent) { 153 // For now we only support requesting quota with this interface 172 LOG(WARNING) << "Attempt to request quota tabless renderer: " 182 LOG(WARNING) << "Attempt to request quota from a background page: "
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
sync_or_local_value_store_cache.h | 33 const SettingsStorageQuotaEnforcer::Limits& quota, 51 const SettingsStorageQuotaEnforcer::Limits& quota,
|
/external/chromium_org/chrome/browser/net/ |
sqlite_server_bound_cert_store.h | 17 namespace quota { namespace 32 quota::SpecialStoragePolicy* special_storage_policy);
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
quota_internals_handler.h | 14 #include "webkit/common/quota/quota_types.h" 29 // This class handles message from WebUI page of chrome://quota-internals/.
|
/external/chromium_org/content/common/ |
websocket_messages.h | 84 // Add |quota| tokens of send quota for channel |channel_id|. |quota| must be a 85 // positive integer. Both the browser and the renderer set send quota for the 86 // other side, and check that quota has not been exceeded when receiving 87 // messages. Both sides start a new channel with a quota of 0, and must wait for 88 // a FlowControl message before calling SendFrame. The total available quota on 92 int64 /* quota */)
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_service.h | 29 namespace quota { namespace 58 // If not using quota management, the proxy may be NULL. 59 explicit AppCacheService(quota::QuotaManagerProxy* quota_manager_proxy); 133 quota::SpecialStoragePolicy* special_storage_policy() const { 136 void set_special_storage_policy(quota::SpecialStoragePolicy* policy); 138 quota::QuotaManagerProxy* quota_manager_proxy() const { 179 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; 180 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_;
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_quota_client.cc | 27 using quota::StorageType; 61 const quota::QuotaClient::GetOriginsCallback& callback, 66 quota::QuotaStatusCode DeleteOriginOnFileThread( 72 return quota::kQuotaErrorNotSupported; 77 return quota::kQuotaStatusOk; 78 return quota::kQuotaErrorInvalidModification; 92 quota::QuotaClient::ID FileSystemQuotaClient::id() const { 93 return quota::QuotaClient::kFileSystem;
|
file_system_operation_impl.h | 19 #include "webkit/common/quota/quota_types.h" 166 // Queries the quota and usage and then runs the given |task|. 167 // If an error occurs during the quota query it runs |error_callback| instead. 173 // Called after the quota info is obtained from the quota manager 175 // Sets the quota info in the operation_context_ and then runs the given 176 // |task| if the returned quota status is successful, otherwise runs 181 quota::QuotaStatusCode status, 182 int64 usage, int64 quota); 185 // file task on proxy_) after the quota check [all...] |
/external/chromium_org/webkit/browser/quota/ |
quota_task.h | 21 namespace quota { namespace 25 // A base class for quota tasks.
|
usage_tracker.h | 18 #include "webkit/browser/quota/quota_callbacks.h" 19 #include "webkit/browser/quota/quota_client.h" 20 #include "webkit/browser/quota/quota_task.h" 21 #include "webkit/browser/quota/special_storage_policy.h" 23 #include "webkit/common/quota/quota_types.h" 25 namespace quota { namespace 30 // all quota clients. 192 } // namespace quota
|
quota_database_unittest.cc | 20 #include "webkit/browser/quota/mock_special_storage_policy.h" 21 #include "webkit/browser/quota/quota_database.h" 23 namespace quota { namespace 75 int64 quota = -1; local 76 EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypeTemporary, "a)); 77 EXPECT_FALSE(db.GetHostQuota(kHost, kStorageTypePersistent, "a)); 79 // Insert quota for temporary. 81 EXPECT_TRUE(db.GetHostQuota(kHost, kStorageTypeTemporary, "a)); 82 EXPECT_EQ(kQuota1, quota); 84 // Update quota for temporary [all...] |
quota_manager_unittest.cc | 21 #include "webkit/browser/quota/mock_special_storage_policy.h" 22 #include "webkit/browser/quota/mock_storage_client.h" 23 #include "webkit/browser/quota/quota_database.h" 24 #include "webkit/browser/quota/quota_manager.h" 28 namespace quota { namespace 70 // Make sure the quota manager cleans up correctly. 307 void DidGetUsageAndQuota(QuotaStatusCode status, int64 usage, int64 quota) { 310 quota_ = quota; 314 int64 quota) { 316 quota_ = quota; 393 int64 quota() const { return quota_; } function in class:quota::QuotaManagerTest [all...] |
mock_quota_manager_unittest.cc | 15 #include "webkit/browser/quota/mock_quota_manager.h" 16 #include "webkit/browser/quota/mock_special_storage_policy.h" 17 #include "webkit/browser/quota/mock_storage_client.h" 19 namespace quota { namespace 53 // Make sure the quota manager cleans up correctly. 80 EXPECT_EQ(quota::kQuotaStatusOk, status); 222 } // Namespace quota
|
quota_database.h | 20 #include "webkit/common/quota/quota_types.h" 29 namespace quota { namespace 46 bool GetHostQuota(const std::string& host, StorageType type, int64* quota); 47 bool SetHostQuota(const std::string& host, StorageType type, int64 quota); 96 int64 quota); 99 int64 quota; member in struct:quota::QuotaDatabase::QuotaTableEntry 184 } // namespace quota
|
quota_manager.cc | 5 #include "webkit/browser/quota/quota_manager.h" 26 #include "webkit/browser/quota/quota_database.h" 27 #include "webkit/browser/quota/quota_temporary_storage_evictor.h" 28 #include "webkit/browser/quota/usage_tracker.h" 29 #include "webkit/common/quota/quota_types.h" 36 namespace quota { namespace 60 // when returning the quota to unlimited apps/extensions. 110 int64* quota, 113 database->GetHostQuota(host, kStorageTypePersistent, quota); 199 // We basically calculate the temporary quota b 260 int64 quota = usage_and_quota.quota; local [all...] |
/external/chromium_org/net/websockets/ |
websocket_channel.h | 59 // that they have sufficient send quota to send this data, otherwise the 70 // Sends |quota| units of flow control to the remote side. If the underlying 71 // transport has a concept of |quota|, then it permits the remote server to 72 // send up to |quota| units of data. 73 void SendFlowControl(int64 quota); 149 // the send quota of the renderer channel as appropriate. |result| is a net 242 // The point at which we give the renderer a quota refresh (quota units). 243 // "quota units" are currently bytes. TODO(ricea): Update the definition of 244 // quota units when necessary [all...] |
/external/chromium_org/content/public/browser/ |
storage_partition.h | 27 namespace quota { namespace 52 virtual quota::QuotaManager* GetQuotaManager() = 0; 72 // Corresponds to quota::kStorageTypeTemporary. 75 // Corresponds to quota::kStorageTypePersistent. 78 // Corresponds to quota::kStorageTypeSyncable.
|
/external/chromium_org/third_party/WebKit/Source/modules/quota/ |
StorageInfo.cpp | 33 #include "modules/quota/StorageInfo.h" 38 #include "modules/quota/StorageErrorCallback.h" 39 #include "modules/quota/StorageQuota.h" 40 #include "modules/quota/StorageQuotaCallback.h" 41 #include "modules/quota/StorageUsageCallback.h"
|
/external/chromium_org/chrome/browser/extensions/ |
extensions_quota_service.h | 10 // quota violations'. A heuristic is two functions: one mapping input 46 // use to help the service make decisions about quota violations. 54 // extension specified by |extension_id| results in a quota limit violation. 55 // Returns an error message representing the failure if quota was exceeded, 71 // unbounded amount of memory while tracking quota. Yes, this could mean an 79 // Our quota tracking state for extensions that have invoked quota limited 86 // For now, as soon as an extension violates quota, we don't allow it to 87 // make any more requests to quota limited functions. This provides a quick 98 // (represented by its Bucket) constitutes a quota violation [all...] |
extension_special_storage_policy.h | 14 #include "webkit/browser/quota/special_storage_policy.h" 25 class ExtensionSpecialStoragePolicy : public quota::SpecialStoragePolicy { 29 // quota::SpecialStoragePolicy methods used by storage subsystems and the
|
/external/chromium_org/content/browser/ |
storage_partition_impl.cc | 25 #include "webkit/browser/quota/quota_manager.h" 35 quota_client_mask |= quota::QuotaClient::kFileSystem; 37 quota_client_mask |= quota::QuotaClient::kDatabase; 39 quota_client_mask |= quota::QuotaClient::kAppcache; 41 quota_client_mask |= quota::QuotaClient::kIndexedDatabase; 81 quota::StorageType type, 84 quota::QuotaStatusCode status) { 87 if (status != quota::kQuotaStatusOk) { 99 void ClearQuotaManagedOriginsOnIOThread(quota::QuotaManager* quota_manager, 103 quota::StorageType quota_storage_type) [all...] |
/external/chromium_org/chrome/browser/chromeos/fileapi/ |
file_system_backend_unittest.cc | 16 #include "webkit/browser/quota/mock_special_storage_policy.h" 35 scoped_refptr<quota::SpecialStoragePolicy> storage_policy = 36 new quota::MockSpecialStoragePolicy(); 62 scoped_refptr<quota::SpecialStoragePolicy> storage_policy = 63 new quota::MockSpecialStoragePolicy(); 106 scoped_refptr<quota::MockSpecialStoragePolicy> storage_policy = 107 new quota::MockSpecialStoragePolicy(); 202 scoped_refptr<quota::MockSpecialStoragePolicy> storage_policy = 203 new quota::MockSpecialStoragePolicy();
|
/external/chromium/chrome/browser/extensions/ |
extension_test_api.cc | 60 ExtensionsQuotaService* quota = service->quota_service(); local 61 quota->Purge(); 62 quota->violators_.clear();
|
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/ |
sync_file_system_api.h | 17 #include "webkit/common/quota/quota_types.h" 96 void DidGetUsageAndQuota(quota::QuotaStatusCode status, 98 int64 quota);
|
/external/chromium_org/content/browser/appcache/ |
chrome_appcache_service.cc | 14 #include "webkit/browser/quota/quota_manager.h" 19 quota::QuotaManagerProxy* quota_manager_proxy) 28 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy) {
|