int ChromeNetworkDelegate::OnBeforeURLRequest( net::URLRequest* request, net::CompletionOnceCallback callback, GURL* new_url) { extensions_delegate_->ForwardStartRequestStatus(request);
// The non-redirect case is handled in GoogleURLLoaderThrottle. bool force_safe_search = (force_google_safe_search_ && force_google_safe_search_->GetValue() && request->is_redirecting());
net::CompletionOnceCallback wrapped_callback = std::move(callback);
if (force_safe_search) { wrapped_callback = base::BindOnce( &ForceGoogleSafeSearchCallbackWrapper, std::move(wrapped_callback), base::Unretained(request), base::Unretained(new_url)); }
int rv = extensions_delegate_->NotifyBeforeURLRequest( request, std::move(wrapped_callback), new_url);
if (force_safe_search && rv == net::OK && new_url->is_empty()) safe_search_util::ForceGoogleSafeSearch(request->url(), new_url);
return rv; // line 235}
target_os = "android"target_cpu = "arm"is_debug = trueis_component_build = false
is_clang = true
symbol_level = 1
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/cbfb977f-fa3c-4dd2-9c28-f3a1e6882303%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPTJ0XGbH%3DQn-2AWTBVMGt2ekDK03axf-hsVwAvW9jst72jYrg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEV-rjdZDOKR-ZYBTCH0rjqD2ZdDNQX6n9fhh4SRdmEOPwkn9w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/86cd08e9-292a-4d73-8f9f-ac099874da6b%40chromium.org.