#include "network_delegate_efl.h"
#include "http_user_agent_settings_efl.h"
-#include "wrt/wrt_file_protocol_handler.h"
-
namespace content {
namespace {
bool set_protocol = job_factory->SetProtocolHandler(
url::kDataScheme, new net::DataProtocolHandler);
DCHECK(set_protocol);
- // TODO(z.kostrzewa) When WrtWidgetHost::Get()->InWrt() will be able to
- // discover early enough that it is a WRT-originated launch then attach
- // GetWrtFileProtocolHandler() for WRT and FileProtocolHandler otherwise
+
set_protocol = job_factory->SetProtocolHandler(
url::kFileScheme,
- GetWrtFileProtocolHandler());
+ new net::FileProtocolHandler(
+ BrowserThread::GetBlockingPool()->
+ GetTaskRunnerWithShutdownBehavior(
+ base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)));
DCHECK(set_protocol);
// Set up interceptors in the reverse order.