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

Unified Diff: chrome/renderer/prefetch_helper.cc

Issue 407883005: Remove 'WebURLRequest::TargetType' from PrefetchHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/prefetch_helper.cc
diff --git a/chrome/renderer/prefetch_helper.cc b/chrome/renderer/prefetch_helper.cc
index ee0d439b734b85eae0418cc7c35b0cbf2db374e6..4801e1612325e7845d286d4ad07bef41a9c57205 100644
--- a/chrome/renderer/prefetch_helper.cc
+++ b/chrome/renderer/prefetch_helper.cc
@@ -33,7 +33,7 @@ bool PrefetchHelper::OnMessageReceived(
void PrefetchHelper::OnPrefetch(const GURL& url) {
blink::WebFrame* frame = render_frame()->GetWebFrame();
blink::WebURLRequest request(url);
- request.setTargetType(blink::WebURLRequest::TargetIsPrefetch);
+ request.setRequestContext(blink::WebURLRequest::RequestContextPrefetch);
request.setPriority(blink::WebURLRequest::PriorityVeryLow);
blink::WebURLLoaderOptions options;
options.allowCredentials = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698