mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 187216.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1136 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -297,26 +297,12 @@ quota::SpecialStoragePolicy* CefBrowserContext::GetSpecialStoragePolicy() {
|
||||
}
|
||||
|
||||
net::URLRequestContextGetter* CefBrowserContext::CreateRequestContext(
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
blob_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
file_system_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
developer_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
chrome_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
chrome_devtools_protocol_handler) {
|
||||
content::ProtocolHandlerMap* protocol_handlers) {
|
||||
DCHECK(!url_request_getter_);
|
||||
// CEF doesn't use URLDataManager for serving chrome internal protocols.
|
||||
// |chrome_protocol_handler| and |chrome_devtools_protocol_handler| are
|
||||
// ignored so as not to conflict with CEF's protocol implementation.
|
||||
url_request_getter_ = new CefURLRequestContextGetter(
|
||||
BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO),
|
||||
BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::FILE),
|
||||
blob_protocol_handler.Pass(),
|
||||
file_system_protocol_handler.Pass(),
|
||||
developer_protocol_handler.Pass());
|
||||
protocol_handlers);
|
||||
resource_context_->set_url_request_context_getter(url_request_getter_.get());
|
||||
return url_request_getter_.get();
|
||||
}
|
||||
@@ -325,16 +311,7 @@ net::URLRequestContextGetter*
|
||||
CefBrowserContext::CreateRequestContextForStoragePartition(
|
||||
const base::FilePath& partition_path,
|
||||
bool in_memory,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
blob_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
file_system_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
developer_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
chrome_protocol_handler,
|
||||
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
|
||||
chrome_devtools_protocol_handler) {
|
||||
content::ProtocolHandlerMap* protocol_handlers) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user