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

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

Issue 10827103: Speculative resource prefetching - fixing missing navigations due to server side redirects. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing James's comments. Created 8 years, 4 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ResourceContext* resource_context,
73 ResourceResponse* response, 73 ResourceResponse* response,
74 IPC::Sender* sender) { 74 IPC::Sender* sender) {
75 } 75 }
76 76
77 void ResourceDispatcherHostDelegate::OnRequestRedirected( 77 void ResourceDispatcherHostDelegate::OnRequestRedirected(
78 const GURL& redirect_url,
78 net::URLRequest* request, 79 net::URLRequest* request,
79 ResourceContext* resource_context, 80 ResourceContext* resource_context,
80 ResourceResponse* response) { 81 ResourceResponse* response) {
81 } 82 }
82 83
83 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { 84 ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() {
84 } 85 }
85 86
86 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { 87 ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() {
87 } 88 }
88 89
89 } // namespace content 90 } // 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