mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 220934.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1427 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "libcef/browser/devtools_scheme_handler.h"
|
||||
#include "libcef/common/scheme_registration.h"
|
||||
|
||||
#include "content/public/browser/browser_thread.h"
|
||||
#include "content/public/common/url_constants.h"
|
||||
#include "net/url_request/data_protocol_handler.h"
|
||||
#include "net/url_request/file_protocol_handler.h"
|
||||
@@ -25,7 +26,10 @@ void InstallInternalProtectedHandlers(
|
||||
protocol_handlers->insert(
|
||||
std::make_pair(chrome::kDataScheme, new net::DataProtocolHandler));
|
||||
protocol_handlers->insert(
|
||||
std::make_pair(chrome::kFileScheme, new net::FileProtocolHandler));
|
||||
std::make_pair(chrome::kFileScheme, new net::FileProtocolHandler(
|
||||
content::BrowserThread::GetBlockingPool()->
|
||||
GetTaskRunnerWithShutdownBehavior(
|
||||
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))));
|
||||
#if !defined(DISABLE_FTP_SUPPORT)
|
||||
protocol_handlers->insert(
|
||||
std::make_pair(chrome::kFtpScheme,
|
||||
|
Reference in New Issue
Block a user