/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_context_impl.cc | 150 const GURL& origin_url = *iter; in GetAllOriginsInfo() local 152 base::FilePath idb_directory = GetFilePath(origin_url); in GetAllOriginsInfo() 153 size_t connection_count = GetConnectionCount(origin_url); in GetAllOriginsInfo() 154 result.push_back(IndexedDBInfo(origin_url, in GetAllOriginsInfo() 155 GetOriginDiskUsage(origin_url), in GetAllOriginsInfo() 156 GetOriginLastModified(origin_url), in GetAllOriginsInfo() 177 const GURL& origin_url = *iter; in GetAllOriginsDetails() local 180 info->SetString("url", origin_url.spec()); in GetAllOriginsDetails() 181 info->SetString("size", ui::FormatBytes(GetOriginDiskUsage(origin_url))); in GetAllOriginsDetails() 183 GetOriginLastModified(origin_url).ToJsTime()); in GetAllOriginsDetails() [all …]
|
D | indexed_db_factory_impl.cc | 66 void IndexedDBFactoryImpl::ReleaseBackingStore(const GURL& origin_url, in ReleaseBackingStore() argument 70 backing_stores_with_active_blobs_.find(origin_url); in ReleaseBackingStore() 78 if (!HasLastBackingStoreReference(origin_url)) in ReleaseBackingStore() 85 CloseBackingStore(origin_url); in ReleaseBackingStore() 91 DCHECK(!backing_store_map_[origin_url]->close_timer()->IsRunning()); in ReleaseBackingStore() 92 backing_store_map_[origin_url]->close_timer()->Start( in ReleaseBackingStore() 96 &IndexedDBFactoryImpl::MaybeCloseBackingStore, this, origin_url)); in ReleaseBackingStore() 99 void IndexedDBFactoryImpl::MaybeCloseBackingStore(const GURL& origin_url) { in MaybeCloseBackingStore() argument 102 if (HasLastBackingStoreReference(origin_url)) in MaybeCloseBackingStore() 103 CloseBackingStore(origin_url); in MaybeCloseBackingStore() [all …]
|
D | indexed_db_context_impl.h | 68 virtual int64 GetOriginDiskUsage(const GURL& origin_url) OVERRIDE; in NON_EXPORTED_BASE() 69 virtual void DeleteForOrigin(const GURL& origin_url) OVERRIDE; in NON_EXPORTED_BASE() 76 void ConnectionOpened(const GURL& origin_url, IndexedDBConnection* db); in NON_EXPORTED_BASE() 77 void ConnectionClosed(const GURL& origin_url, IndexedDBConnection* db); in NON_EXPORTED_BASE() 78 void TransactionComplete(const GURL& origin_url); in NON_EXPORTED_BASE() 79 void DatabaseDeleted(const GURL& origin_url); in NON_EXPORTED_BASE() 80 bool WouldBeOverQuota(const GURL& origin_url, int64 additional_bytes); in NON_EXPORTED_BASE() 81 bool IsOverQuota(const GURL& origin_url); in NON_EXPORTED_BASE() 86 base::Time GetOriginLastModified(const GURL& origin_url); in NON_EXPORTED_BASE() 91 void ForceClose(const GURL origin_url, ForceCloseReason reason); in NON_EXPORTED_BASE() [all …]
|
D | indexed_db_factory_impl.h | 28 const GURL& origin_url, 34 const GURL& origin_url, 40 const GURL& origin_url, 43 virtual void HandleBackingStoreFailure(const GURL& origin_url) OVERRIDE; 45 const GURL& origin_url, 49 const GURL& origin_url) const OVERRIDE; 51 virtual void ForceClose(const GURL& origin_url) OVERRIDE; 57 virtual void ReportOutstandingBlobs(const GURL& origin_url, 64 virtual size_t GetConnectionCount(const GURL& origin_url) const OVERRIDE; 70 const GURL& origin_url, [all …]
|
D | indexed_db_internals_ui.cc | 126 GURL* origin_url, in GetOriginData() argument 137 *origin_url = GURL(url_string); in GetOriginData() 139 return GetOriginContext(*partition_path, *origin_url, context); in GetOriginData() 144 const GURL& origin_url, in GetOriginContext() argument 165 GURL origin_url; in DownloadOriginData() local 167 if (!GetOriginData(args, &partition_path, &origin_url, &context)) in DownloadOriginData() 177 origin_url)); in DownloadOriginData() 184 GURL origin_url; in ForceCloseOrigin() local 186 if (!GetOriginData(args, &partition_path, &origin_url, &context)) in ForceCloseOrigin() 195 origin_url)); in ForceCloseOrigin() [all …]
|
D | mock_indexed_db_factory.h | 23 const GURL& origin_url, 30 const GURL& origin_url, 36 const GURL& origin_url, 38 MOCK_METHOD1(HandleBackingStoreFailure, void(const GURL& origin_url)); 40 void(const GURL& origin_url, 45 const GURL& origin_url) const OVERRIDE; 46 MOCK_METHOD1(ForceClose, void(const GURL& origin_url)); 50 MOCK_CONST_METHOD1(GetConnectionCount, size_t(const GURL& origin_url)); 53 void(const GURL& origin_url, bool blobs_outstanding)); 60 const GURL& origin_url, [all …]
|
D | indexed_db_factory.h | 43 const GURL& origin_url, in NON_EXPORTED_BASE() 49 const GURL& origin_url, in NON_EXPORTED_BASE() 55 const GURL& origin_url, in NON_EXPORTED_BASE() 58 virtual void HandleBackingStoreFailure(const GURL& origin_url) = 0; in NON_EXPORTED_BASE() 60 const GURL& origin_url, in NON_EXPORTED_BASE() 63 virtual OriginDBs GetOpenDatabasesForOrigin(const GURL& origin_url) const = 0; in NON_EXPORTED_BASE() 65 virtual void ForceClose(const GURL& origin_url) = 0; in NON_EXPORTED_BASE() 71 virtual void ReportOutstandingBlobs(const GURL& origin_url, in NON_EXPORTED_BASE() 78 virtual size_t GetConnectionCount(const GURL& origin_url) const = 0; in NON_EXPORTED_BASE() 87 const GURL& origin_url, in NON_EXPORTED_BASE() [all …]
|
D | indexed_db_active_blob_registry_unittest.cc | 22 virtual void ReportOutstandingBlobs(const GURL& origin_url, in ReportOutstandingBlobs() argument 25 if (origins_.count(origin_url)) { in ReportOutstandingBlobs() 28 origins_.insert(origin_url); in ReportOutstandingBlobs() 31 if (!origins_.count(origin_url)) { in ReportOutstandingBlobs() 34 origins_.erase(origin_url); in ReportOutstandingBlobs() 144 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin_url())); in TEST_F() 166 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin_url())); in TEST_F() 172 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin_url())); in TEST_F() 207 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin_url())); in TEST_F() 215 EXPECT_TRUE(factory()->CheckSingleOriginInUse(backing_store()->origin_url())); in TEST_F() [all …]
|
D | indexed_db_internals_ui.h | 45 const GURL& origin_url); 47 const GURL& origin_url, 52 const GURL& origin_url, 62 const GURL& origin_url); 64 const GURL& origin_url, 67 const GURL& origin_url, 71 GURL* origin_url,
|
/external/chromium_org/content/public/test/ |
D | mock_storage_client.cc | 45 const GURL& origin_url, StorageType type, int64 size) { in AddOriginAndNotify() argument 46 DCHECK(origin_data_.find(make_pair(origin_url, type)) == origin_data_.end()); in AddOriginAndNotify() 48 origin_data_[make_pair(origin_url, type)] = size; in AddOriginAndNotify() 50 id(), origin_url, type, size, IncrementMockTime()); in AddOriginAndNotify() 54 const GURL& origin_url, StorageType type, int64 delta) { in ModifyOriginAndNotify() argument 55 OriginDataMap::iterator find = origin_data_.find(make_pair(origin_url, type)); in ModifyOriginAndNotify() 62 id(), origin_url, type, delta, IncrementMockTime()); in ModifyOriginAndNotify() 75 const GURL& origin_url, StorageType type) { in AddOriginToErrorSet() argument 76 error_origins_.insert(make_pair(origin_url, type)); in AddOriginToErrorSet() 92 void MockStorageClient::GetOriginUsage(const GURL& origin_url, in GetOriginUsage() argument [all …]
|
D | mock_storage_client.h | 46 const GURL& origin_url, StorageType type, int64 size); 48 const GURL& origin_url, StorageType type, int64 delta); 51 void AddOriginToErrorSet(const GURL& origin_url, StorageType type); 58 virtual void GetOriginUsage(const GURL& origin_url, 71 void RunGetOriginUsage(const GURL& origin_url, 79 void RunDeleteOriginData(const GURL& origin_url,
|
/external/chromium_org/chrome/browser/android/banners/ |
D | app_banner_settings_helper.cc | 29 const GURL& origin_url, in IsAllowed() argument 34 if (profile->IsOffTheRecord() || web_contents->GetURL() != origin_url || in IsAllowed() 44 settings->GetWebsiteSetting(origin_url, in IsAllowed() 45 origin_url, in IsAllowed() 65 ContentSettingsPattern pattern(ContentSettingsPattern::FromURL(origin_url)); in IsAllowed() 80 const GURL& origin_url, in Block() argument 88 ContentSettingsPattern pattern(ContentSettingsPattern::FromURL(origin_url)); in Block() 93 settings->GetWebsiteSetting(origin_url, in Block() 94 origin_url, in Block()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | chrome_render_message_filter.cc | 169 const GURL& origin_url, in OnAllowDatabase() argument 175 cookie_settings_->IsSettingCookieAllowed(origin_url, top_origin_url); in OnAllowDatabase() 179 render_process_id_, render_frame_id, origin_url, name, in OnAllowDatabase() 184 const GURL& origin_url, in OnAllowDOMStorage() argument 189 cookie_settings_->IsSettingCookieAllowed(origin_url, top_origin_url); in OnAllowDOMStorage() 194 render_process_id_, render_frame_id, origin_url, local, in OnAllowDOMStorage() 200 const GURL& origin_url, in OnRequestFileSystemAccessSync() argument 210 origin_url, in OnRequestFileSystemAccessSync() 246 const GURL& origin_url, in OnRequestFileSystemAccessAsync() argument 256 origin_url, in OnRequestFileSystemAccessAsync() [all …]
|
D | chrome_render_message_filter.h | 66 const GURL& origin_url, 72 const GURL& origin_url, 77 const GURL& origin_url, 90 const GURL& origin_url, 98 const GURL& origin_url, 114 const GURL& origin_url,
|
/external/chromium_org/content/browser/resources/indexed_db/ |
D | indexeddb_internals.js | 32 function withNode(selector, partition_path, origin_url, callback) { argument 37 origin_url == link.idb_origin_url) { 44 function onOriginDownloadReady(partition_path, origin_url, connection_count) { argument 45 withNode('a.download', partition_path, origin_url, function(link) { 48 withNode('.connection-count', partition_path, origin_url, function(span) { 53 function onForcedClose(partition_path, origin_url, connection_count) { argument 54 withNode('a.force-close', partition_path, origin_url, function(link) { 57 withNode('.connection-count', partition_path, origin_url, function(span) {
|
/external/chromium_org/chrome/browser/notifications/ |
D | notification.cc | 7 Notification::Notification(const GURL& origin_url, in Notification() argument 21 message_center::NotifierId(origin_url), in Notification() 24 origin_url_(origin_url), in Notification() 31 const GURL& origin_url, in Notification() argument 50 origin_url_(origin_url), in Notification() 59 origin_url_(notification.origin_url()), in Notification() 71 origin_url_ = notification.origin_url(); in operator =()
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_histograms.cc | 11 static std::string OriginToCustomHistogramSuffix(const GURL& origin_url) { in OriginToCustomHistogramSuffix() argument 12 if (origin_url.host() == "docs.google.com") in OriginToCustomHistogramSuffix() 33 const GURL& origin_url) { in CountUpdateJobResult() argument 38 const std::string suffix = OriginToCustomHistogramSuffix(origin_url); in CountUpdateJobResult() 57 bool success, bool is_main_resource, const GURL& origin_url) { in CountResponseRetrieval() argument 66 const std::string suffix = OriginToCustomHistogramSuffix(origin_url); in CountResponseRetrieval() 75 const GURL& origin_url, in LogUpdateFailureStats() argument 79 const std::string suffix = OriginToCustomHistogramSuffix(origin_url); in LogUpdateFailureStats()
|
/external/chromium_org/content/browser/fileapi/ |
D | sandbox_file_system_backend_unittest.cc | 40 const char* origin_url; member 55 const char* origin_url; member 64 const GURL& origin_url, in DidOpenFileSystem() argument 106 bool GetRootPath(const GURL& origin_url, in GetRootPath() argument 112 FileSystemURL::CreateForTest(origin_url, type, base::FilePath()), in GetRootPath() 120 origin_url, type, false /* create */); in GetRootPath() 204 EXPECT_TRUE(GetRootPath(GURL(kRootPathTestCases[i].origin_url), in TEST_F() 224 EXPECT_TRUE(GetRootPath(GURL(kRootPathTestCases[i].origin_url), in TEST_F() 239 GURL origin_url("http://foo.com:1/"); in TEST_F() local 242 EXPECT_TRUE(GetRootPath(origin_url, in TEST_F() [all …]
|
D | file_system_quota_client_unittest.cc | 57 const char* origin_url; member 67 const std::string& origin_url, in GetOriginUsageAsync() argument 70 GURL(origin_url), type, in GetOriginUsageAsync() 76 const std::string& origin_url, in GetOriginUsage() argument 78 GetOriginUsageAsync(quota_client, origin_url, type); in GetOriginUsage() 107 const std::string& origin_url, in RunAdditionalOriginUsageTask() argument 110 GURL(origin_url), type, in RunAdditionalOriginUsageTask() 116 const std::string& origin_url, in CreateFileSystemDirectory() argument 121 GURL(origin_url), type, file_path); in CreateFileSystemDirectory() 130 const std::string& origin_url, in CreateFileSystemFile() argument [all …]
|
/external/chromium_org/chrome/browser/ |
D | chrome_quota_permission_context.cc | 43 const GURL& origin_url, 75 const GURL& origin_url, in QuotaPermissionRequest() argument 81 origin_url_(origin_url), in QuotaPermissionRequest() 155 const GURL& origin_url, 163 const GURL& origin_url, 187 const GURL& origin_url, in Create() argument 193 context, origin_url, requested_quota, display_languages, callback)))); in Create() 198 const GURL& origin_url, in RequestQuotaInfoBarDelegate() argument 204 origin_url_(origin_url), in RequestQuotaInfoBarDelegate() 289 params.origin_url, params.requested_size, params.user_gesture, in RequestQuotaPermission() [all …]
|
/external/chromium_org/storage/browser/fileapi/ |
D | sandbox_file_system_backend_delegate.cc | 112 const GURL& origin_url, in OpenFileSystemOnFileTaskRunner() argument 119 origin_url, SandboxFileSystemBackendDelegate::GetTypeString(type), in OpenFileSystemOnFileTaskRunner() 236 const GURL& origin_url, in GetBaseDirectoryForOriginAndType() argument 241 origin_url, GetTypeString(type), create, &error); in GetBaseDirectoryForOriginAndType() 248 const GURL& origin_url, in OpenFileSystem() argument 253 if (!IsAllowedScheme(origin_url)) { in OpenFileSystem() 258 std::string name = GetFileSystemName(origin_url, type); in OpenFileSystem() 264 obfuscated_file_util(), origin_url, type, mode, in OpenFileSystem() 329 const GURL& origin_url, in DeleteOriginDataOnFileTaskRunner() argument 333 file_system_context, origin_url, type); in DeleteOriginDataOnFileTaskRunner() [all …]
|
D | sandbox_file_system_backend_delegate.h | 103 const GURL& origin_url, 109 const GURL& origin_url, 133 const GURL& origin_url, 144 const GURL& origin_url, 148 const GURL& origin_url, 174 void InvalidateUsageCache(const GURL& origin_url, 176 void StickyInvalidateUsageCache(const GURL& origin_url, 215 const GURL& origin_url, 221 const GURL& origin_url,
|
/external/chromium_org/storage/common/fileapi/ |
D | file_system_util.h | 74 GURL* origin_url, 87 STORAGE_COMMON_EXPORT GURL GetFileSystemRootURI(const GURL& origin_url, 102 GetFileSystemName(const GURL& origin_url, FileSystemType type); 147 const GURL& origin_url, 166 const GURL& origin_url, 173 const GURL& origin_url,
|
D | file_system_util.cc | 151 GURL* origin_url, in ParseFileSystemSchemeURL() argument 198 if (origin_url) in ParseFileSystemSchemeURL() 199 *origin_url = url.GetOrigin(); in ParseFileSystemSchemeURL() 209 GURL GetFileSystemRootURI(const GURL& origin_url, FileSystemType type) { in GetFileSystemRootURI() argument 212 DCHECK(!origin_url.SchemeIsFileSystem()); in GetFileSystemRootURI() 214 std::string url = "filesystem:" + origin_url.GetWithEmptyPath().spec(); in GetFileSystemRootURI() 239 std::string GetFileSystemName(const GURL& origin_url, FileSystemType type) { in GetFileSystemName() argument 240 std::string origin_identifier = storage::GetIdentifierFromOrigin(origin_url); in GetFileSystemName() 403 std::string GetIsolatedFileSystemName(const GURL& origin_url, in GetIsolatedFileSystemName() argument 406 storage::GetFileSystemName(origin_url, storage::kFileSystemTypeIsolated)); in GetIsolatedFileSystemName() [all …]
|
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/ |
D | javascript_dialog_manager.cc | 93 const GURL& origin_url, 124 const GURL& origin_url, 158 const GURL& origin_url, in RunJavaScriptDialog() argument 190 GetTitle(web_contents, origin_url, accept_lang, is_alert); in RunJavaScriptDialog() 267 const GURL& origin_url, in GetTitle() argument 271 if (!origin_url.has_host()) { in GetTitle() 282 web_contents->GetLastCommittedURL().GetOrigin() == origin_url) { in GetTitle() 289 base::string16 url_string = net::FormatUrl(origin_url, accept_lang); in GetTitle()
|