This source file includes following definitions.
- MaybeCreateJob
- IsSafeRedirectTarget
#include "net/url_request/data_protocol_handler.h"
#include "net/url_request/url_request_data_job.h"
namespace net {
DataProtocolHandler::DataProtocolHandler() {
}
URLRequestJob* DataProtocolHandler::MaybeCreateJob(
URLRequest* request, NetworkDelegate* network_delegate) const {
return new URLRequestDataJob(request, network_delegate);
}
bool DataProtocolHandler::IsSafeRedirectTarget(const GURL& location) const {
return false;
}
}