mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 8cb76f56 (#307671)
- Linux/Mac: Load V8 initial snapshot from external bin files (see http://crbug.com/421063). - Windows: 8.1 SDK is now required (issue #1470). - Remove CefDOMDocument::GetSelectionStartNode and GetSelectionEndNode methods(see https://codereview.chromium.org/763043004). - Rename internal namespace used in base headers to avoid linker conflicts with cef_sandbox.lib. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1956 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -11,23 +11,19 @@
|
||||
#include "libcef/browser/thread_util.h"
|
||||
#include "libcef/common/request_impl.h"
|
||||
|
||||
#include "net/url_request/url_request_job_manager.h"
|
||||
#include "net/url_request/url_request_redirect_job.h"
|
||||
|
||||
CefRequestInterceptor::CefRequestInterceptor() {
|
||||
CEF_REQUIRE_IOT();
|
||||
net::URLRequestJobManager::GetInstance()->RegisterRequestInterceptor(this);
|
||||
}
|
||||
|
||||
CefRequestInterceptor::~CefRequestInterceptor() {
|
||||
CEF_REQUIRE_IOT();
|
||||
net::URLRequestJobManager::GetInstance()->
|
||||
UnregisterRequestInterceptor(this);
|
||||
}
|
||||
|
||||
net::URLRequestJob* CefRequestInterceptor::MaybeIntercept(
|
||||
net::URLRequestJob* CefRequestInterceptor::MaybeInterceptRequest(
|
||||
net::URLRequest* request,
|
||||
net::NetworkDelegate* network_delegate) {
|
||||
net::NetworkDelegate* network_delegate) const {
|
||||
CefRefPtr<CefBrowserHostImpl> browser =
|
||||
CefBrowserHostImpl::GetBrowserForRequest(request);
|
||||
if (browser.get()) {
|
||||
@@ -57,7 +53,7 @@ net::URLRequestJob* CefRequestInterceptor::MaybeIntercept(
|
||||
net::URLRequestJob* CefRequestInterceptor::MaybeInterceptRedirect(
|
||||
net::URLRequest* request,
|
||||
net::NetworkDelegate* network_delegate,
|
||||
const GURL& location) {
|
||||
const GURL& location) const {
|
||||
CefRefPtr<CefBrowserHostImpl> browser =
|
||||
CefBrowserHostImpl::GetBrowserForRequest(request);
|
||||
if (browser.get()) {
|
||||
@@ -89,6 +85,6 @@ net::URLRequestJob* CefRequestInterceptor::MaybeInterceptRedirect(
|
||||
|
||||
net::URLRequestJob* CefRequestInterceptor::MaybeInterceptResponse(
|
||||
net::URLRequest* request,
|
||||
net::NetworkDelegate* network_delegate) {
|
||||
net::NetworkDelegate* network_delegate) const {
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user