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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 10416002: Seculative resource prefetching for URLs CL. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolving conflicts. Created 8 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 unified diff | Download patch
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/browser/resource_dispatcher_host_delegate.h" 5 #include "content/public/browser/resource_dispatcher_host_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest( 9 bool ResourceDispatcherHostDelegate::ShouldBeginRequest(
10 int child_id, 10 int child_id,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 62 }
63 63
64 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource( 64 bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource(
65 const GURL& url, 65 const GURL& url,
66 const std::string& mime_type) { 66 const std::string& mime_type) {
67 return false; 67 return false;
68 } 68 }
69 69
70 void ResourceDispatcherHostDelegate::OnResponseStarted( 70 void ResourceDispatcherHostDelegate::OnResponseStarted(
71 net::URLRequest* request, 71 net::URLRequest* request,
72 ResourceContext* resource_context,
72 ResourceResponse* response, 73 ResourceResponse* response,
73 IPC::Sender* sender) { 74 IPC::Sender* sender) {
74 } 75 }
75 76
76 void ResourceDispatcherHostDelegate::OnRequestRedirected( 77 void ResourceDispatcherHostDelegate::OnRequestRedirected(
77 net::URLRequest* request, 78 net::URLRequest* request,
79 ResourceContext* resource_context,
78 ResourceResponse* response) { 80 ResourceResponse* response) {
79 } 81 }
80 82
81 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 83 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
82 } 84 }
83 85
84 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 86 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
85 } 87 }
86 88
87 } // namespace content 89 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698