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

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

Issue 2262183002: [NoStatePrefetch] Do not send responses to renderer in prefetch mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefetchProto
Patch Set: remove WebDocument api Created 4 years, 3 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/modules/app_banner/WebAppBannerClie nt.h" 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
10 #include "ui/gfx/icc_profile.h" 10 #include "ui/gfx/icc_profile.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 bool ContentRendererClient::WillSendRequest( 130 bool ContentRendererClient::WillSendRequest(
131 blink::WebFrame* frame, 131 blink::WebFrame* frame,
132 ui::PageTransition transition_type, 132 ui::PageTransition transition_type,
133 const GURL& url, 133 const GURL& url,
134 const GURL& first_party_for_cookies, 134 const GURL& first_party_for_cookies,
135 GURL* new_url) { 135 GURL* new_url) {
136 return false; 136 return false;
137 } 137 }
138 138
139 bool ContentRendererClient::IsPrefetchOnly(
140 RenderFrame* render_frame,
141 const blink::WebURLRequest& request) {
142 return false;
143 }
144
139 unsigned long long ContentRendererClient::VisitedLinkHash( 145 unsigned long long ContentRendererClient::VisitedLinkHash(
140 const char* canonical_url, size_t length) { 146 const char* canonical_url, size_t length) {
141 return 0LL; 147 return 0LL;
142 } 148 }
143 149
144 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { 150 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
145 return false; 151 return false;
146 } 152 }
147 153
148 blink::WebPrescientNetworking* 154 blink::WebPrescientNetworking*
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 239
234 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 240 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
235 return true; 241 return true;
236 } 242 }
237 243
238 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { 244 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) {
239 return GURL(); 245 return GURL();
240 } 246 }
241 247
242 } // namespace content 248 } // 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