Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 2900563002: Network service: Safe browsing check for sub-resources from renderer. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 #include "content/public/renderer/media_stream_renderer_factory.h" 7 #include "content/public/renderer/media_stream_renderer_factory.h"
8 #include "media/base/renderer_factory.h" 8 #include "media/base/renderer_factory.h"
9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h"
10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 bool ContentRendererClient::ShouldFork(blink::WebLocalFrame* frame, 125 bool ContentRendererClient::ShouldFork(blink::WebLocalFrame* frame,
126 const GURL& url, 126 const GURL& url,
127 const std::string& http_method, 127 const std::string& http_method,
128 bool is_initial_navigation, 128 bool is_initial_navigation,
129 bool is_server_redirect, 129 bool is_server_redirect,
130 bool* send_referrer) { 130 bool* send_referrer) {
131 return false; 131 return false;
132 } 132 }
133 133
134 bool ContentRendererClient::WillSendRequest(blink::WebLocalFrame* frame, 134 bool ContentRendererClient::WillSendRequest(
135 ui::PageTransition transition_type, 135 blink::WebLocalFrame* frame,
136 const blink::WebURL& url, 136 ui::PageTransition transition_type,
137 GURL* new_url) { 137 const blink::WebURL& url,
138 std::vector<std::unique_ptr<URLLoaderThrottle>>* throttles,
139 GURL* new_url) {
138 return false; 140 return false;
139 } 141 }
140 142
141 bool ContentRendererClient::IsPrefetchOnly( 143 bool ContentRendererClient::IsPrefetchOnly(
142 RenderFrame* render_frame, 144 RenderFrame* render_frame,
143 const blink::WebURLRequest& request) { 145 const blink::WebURLRequest& request) {
144 return false; 146 return false;
145 } 147 }
146 148
147 unsigned long long ContentRendererClient::VisitedLinkHash( 149 unsigned long long ContentRendererClient::VisitedLinkHash(
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 std::unique_ptr<base::TaskScheduler::InitParams> 245 std::unique_ptr<base::TaskScheduler::InitParams>
244 ContentRendererClient::GetTaskSchedulerInitParams() { 246 ContentRendererClient::GetTaskSchedulerInitParams() {
245 return nullptr; 247 return nullptr;
246 } 248 }
247 249
248 bool ContentRendererClient::AllowMediaSuspend() { 250 bool ContentRendererClient::AllowMediaSuspend() {
249 return true; 251 return true;
250 } 252 }
251 253
252 } // namespace content 254 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698