Searched defs:backend (Results 76 - 100 of 137) sorted by last modified time

123456

/external/chromium_org/net/http/
H A Dhttp_cache.cc85 NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend,
95 backend,
118 // open cache entries or the backend itself.
124 scoped_ptr<disk_cache::Backend> backend; member in struct:net::HttpCache::PendingOp
140 // A work item encapsulates a single request to the backend with all the
150 const net::CompletionCallback& cb, disk_cache::Backend** backend)
155 backend_(backend) {}
169 bool DoCallback(int result, disk_cache::Backend* backend) { argument
171 *backend_ = backend;
367 // If we don't have a backend, whe
84 CreateBackend( NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, const CompletionCallback& callback) argument
149 WorkItem(WorkItemOperation operation, Transaction* trans, const net::CompletionCallback& cb, disk_cache::Backend** backend) argument
383 GetBackend(disk_cache::Backend** backend, const CompletionCallback& callback) argument
494 CreateBackend(disk_cache::Backend** backend, const net::CompletionCallback& callback) argument
[all...]
H A Dhttp_cache_unittest.cc552 disk_cache::Backend* backend; local
554 // This will lazily initialize the backend.
555 int rv = cache.http_cache()->GetBackend(&backend, cb.callback());
613 // This will initialize a cache object with NULL backend.
1759 // ("waiting for the backend" as opposed to Active or Doomed entries).
1796 // Tests that we queue requests when initializing the backend.
1841 // Tests that we can cancel requests that are queued waiting for the backend
1896 // Tests that we can delete the cache while creating the backend.
1918 scoped_ptr<disk_cache::Backend>* backend = factory->backend(); local
1934 disk_cache::Backend* backend; local
[all...]
H A Dmock_http_cache.cc495 scoped_ptr<disk_cache::Backend>* backend,
497 backend->reset(new MockDiskCache());
513 disk_cache::Backend* backend; local
514 int rv = http_cache_.GetBackend(&backend, cb.callback());
516 return (rv == net::OK) ? static_cast<MockDiskCache*>(backend) : NULL;
599 net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend,
601 backend->reset(new MockDiskCacheNoCB());
617 net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend,
621 backend->reset(new MockDiskCache());
625 backend_ = backend;
494 CreateBackend(net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, const net::CompletionCallback& callback) argument
598 CreateBackend( net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, const net::CompletionCallback& callback) argument
616 CreateBackend( net::NetLog* net_log, scoped_ptr<disk_cache::Backend>* backend, const net::CompletionCallback& callback) argument
[all...]
H A Dmock_http_cache.h160 scoped_ptr<disk_cache::Backend>* backend,
193 // Helper function to synchronously open a backend entry.
196 // Helper function to synchronously create a backend entry.
220 scoped_ptr<disk_cache::Backend>* backend,
224 // This backend factory allows us to control the backend instantiation.
231 scoped_ptr<disk_cache::Backend>* backend,
234 // Completes the backend creation. Any blocked call will be notified via the
238 scoped_ptr<disk_cache::Backend>* backend() { return backend_; } function in class:MockBlockingBackendFactory
/external/chromium_org/net/tools/crash_cache/
H A Dcrash_cache.cc143 disk_cache::BackendImpl* backend = new disk_cache::BackendImpl( local
145 backend->SetMaxSize(size);
146 backend->SetType(net::DISK_CACHE);
147 backend->SetFlags(disk_cache::kNoRandom);
148 int rv = backend->Init(cb->callback());
149 *cache = backend;
/external/chromium_org/net/tools/disk_cache_memory_test/
H A Ddisk_cache_memory_test.cc91 scoped_ptr<Backend> backend; local
100 base::MessageLoopProxy::current(), NULL, &backend, callback);
106 LOG(ERROR) << "Could not initialize backend in "
118 static_cast<SimpleBackendImpl*>(backend.get());
131 DCHECK(backend);
132 result.swap(backend);
231 scoped_ptr<Backend> backend = CreateAndInitBackend(**it); local
232 if (!backend)
235 << " : " << backend->GetEntryCount() << std::endl;
236 backends.push_back(backend
[all...]
/external/chromium_org/printing/
H A Dprinting_context_win.cc11 #include "printing/backend/print_backend.h"
12 #include "printing/backend/win_helper.h"
55 scoped_refptr<PrintBackend> backend = PrintBackend::CreateInstance(NULL); local
57 base::UTF8ToWide(backend->GetDefaultPrinterName());
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_context.cc207 FileSystemBackend* backend = iter->second; local
208 if (!backend->GetQuotaUtil())
210 if (backend->GetQuotaUtil()->DeleteOriginDataOnFileTaskRunner(
226 FileSystemBackend* backend = GetFileSystemBackend(type); local
227 if (!backend || !backend->GetQuotaUtil())
229 return backend->GetQuotaUtil()->CreateQuotaReservationOnFileTaskRunner(
245 FileSystemBackend* backend = GetFileSystemBackend(type); local
246 if (!backend)
248 return backend
253 FileSystemBackend* backend = GetFileSystemBackend(type); local
264 FileSystemBackend* backend = GetFileSystemBackend(type); local
282 FileSystemBackend* backend = GetFileSystemBackend(type); local
295 FileSystemBackend* backend = GetFileSystemBackend(type); local
301 FileSystemBackend* backend = GetFileSystemBackend(type); local
307 FileSystemBackend* backend = GetFileSystemBackend(type); local
339 FileSystemBackend* backend = GetFileSystemBackend(type); local
367 FileSystemBackend* backend = GetFileSystemBackend(url.type()); local
408 FileSystemBackend* backend = GetFileSystemBackend(type); local
536 FileSystemBackend* backend = GetFileSystemBackend(url.type()); local
579 RegisterBackend(FileSystemBackend* backend) argument
[all...]
/external/chromium_org/storage/browser/fileapi/quota/
H A Dquota_reservation_manager.cc13 scoped_ptr<QuotaBackend> backend)
14 : backend_(backend.Pass()),
12 QuotaReservationManager( scoped_ptr<QuotaBackend> backend) argument
/external/chromium_org/content/renderer/
H A Drenderer_webapplicationcachehost_impl.cc21 AppCacheBackend* backend)
22 : WebApplicationCacheHostImpl(client, backend),
18 RendererWebApplicationCacheHostImpl( RenderViewImpl* render_view, WebApplicationCacheHostClient* client, AppCacheBackend* backend) argument
/external/chromium_org/components/nacl/browser/
H A Dpnacl_translation_cache.h69 // Return the number of entries in the cache backend.
85 // OpComplete and backend methods on PnaclTranslationCache.
87 disk_cache::Backend* backend() { return disk_cache_.get(); } function in class:pnacl::PnaclTranslationCache
/external/chromium_org/components/policy/core/common/cloud/
H A Dexternal_policy_data_fetcher.cc80 const base::WeakPtr<ExternalPolicyDataFetcherBackend>& backend)
83 backend_(backend),
77 ExternalPolicyDataFetcher( scoped_refptr<base::SequencedTaskRunner> task_runner, scoped_refptr<base::SequencedTaskRunner> io_task_runner, const base::WeakPtr<ExternalPolicyDataFetcherBackend>& backend) argument
/external/chromium_org/content/browser/appcache/
H A Dappcache_host.cc276 AppCacheBackendImpl* backend = service_->GetBackend(spawning_process_id_); local
277 return backend ? backend->GetHost(spawning_host_id_) : NULL;
282 AppCacheBackendImpl* backend = service_->GetBackend(parent_process_id_); local
283 return backend ? backend->GetHost(parent_host_id_) : NULL;
H A Dappcache_request_handler.cc184 AppCacheBackendImpl* backend = host_->service()->GetBackend(old_process_id);
185 host_for_cross_site_transfer_ = backend->TransferHostOut(host_->host_id());
194 AppCacheBackendImpl* backend = host_->service()->GetBackend(new_process_id); local
195 backend->TransferHostIn(new_host_id, host_for_cross_site_transfer_.Pass());
/external/chromium_org/content/browser/fileapi/
H A Dcopy_or_move_file_validator_unittest.cc97 TestFileSystemBackend* backend = static_cast<TestFileSystemBackend*>( local
99 backend->InitializeCopyOrMoveFileValidatorFactory(factory.Pass());
H A Dcopy_or_move_operation_delegate_unittest.cc204 storage::FileSystemBackend* backend = local
206 backend->ResolveURL(
210 backend = file_system_context_->GetFileSystemBackend(dest_type_);
213 static_cast<TestFileSystemBackend*>(backend);
221 backend->ResolveURL(
H A Dfileapi_message_filter.cc496 FileSystemBackend* backend = context_->GetFileSystemBackend(url.type()); local
497 if (backend->SupportsStreaming(url)) {
H A Dplugin_private_file_system_backend_unittest.cc66 storage::PluginPrivateFileSystemBackend* backend() const { function in class:content::PluginPrivateFileSystemBackendTest
70 const base::FilePath& base_path() const { return backend()->base_path(); }
81 backend()->OpenPrivateFileSystem(
94 backend()->OpenPrivateFileSystem(
121 backend()->OpenPrivateFileSystem(
133 backend()->OpenPrivateFileSystem(
/external/chromium_org/content/browser/gpu/
H A Dshader_disk_cache.h78 disk_cache::Backend* backend() { return backend_.get(); } function in class:content::ShaderDiskCache
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_cache.cc663 // The vector of open entries in the backend.
979 ScopedBackendPtr* backend = backend_ptr.get(); local
997 backend,
H A Dservice_worker_cache.h31 // TODO(jkarlin): Unload cache backend from memory once the cache object is no
85 // Prevent further operations on this object and delete the backend.
88 void set_backend(scoped_ptr<disk_cache::Backend> backend) { argument
89 backend_ = backend.Pass();
123 // Loads the backend and calls the callback with the result (true for
130 // The backend can be deleted via the Close function at any time so always
/external/chromium_org/content/browser/ssl/
H A Dssl_manager.h70 SSLPolicyBackend* backend() { return &backend_; } function in class:content::SSLManager
89 // The backend for the SSLPolicy to actuate its decisions.
H A Dssl_policy.cc29 SSLPolicy::SSLPolicy(SSLPolicyBackend* backend) argument
30 : backend_(backend) {
H A Dssl_policy.h28 explicit SSLPolicy(SSLPolicyBackend* backend);
44 SSLPolicyBackend* backend() const { return backend_; } function in class:content::SSLPolicy
76 // The backend we use to enact our decisions.
/external/chromium_org/content/browser/webui/
H A Durl_data_manager_backend.cc105 URLDataManagerBackend* backend,
208 // The backend is owned by net::URLRequestContext and always outlives us.
218 URLDataManagerBackend* backend,
230 backend_(backend),
232 DCHECK(backend);
216 URLRequestChromeJob(net::URLRequest* request, net::NetworkDelegate* network_delegate, URLDataManagerBackend* backend, bool is_incognito) argument

Completed in 414 milliseconds

123456