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

Side by Side Diff: content/browser/loader/resource_loader.h

Issue 398903002: Plumb redirect info out of net, through content, and into child processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: darin comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/loader/resource_handler.h ('k') | content/browser/loader/resource_loader.cc » ('j') | 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 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // IPC message handlers: 51 // IPC message handlers:
52 void OnUploadProgressACK(); 52 void OnUploadProgressACK();
53 53
54 private: 54 private:
55 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreLookup); 55 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreLookup);
56 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreNull); 56 FRIEND_TEST_ALL_PREFIXES(ResourceLoaderTest, ClientCertStoreNull);
57 57
58 // net::URLRequest::Delegate implementation: 58 // net::URLRequest::Delegate implementation:
59 virtual void OnReceivedRedirect(net::URLRequest* request, 59 virtual void OnReceivedRedirect(net::URLRequest* request,
60 const GURL& new_url, 60 const net::RedirectInfo& redirect_info,
61 bool* defer) OVERRIDE; 61 bool* defer) OVERRIDE;
62 virtual void OnAuthRequired(net::URLRequest* request, 62 virtual void OnAuthRequired(net::URLRequest* request,
63 net::AuthChallengeInfo* info) OVERRIDE; 63 net::AuthChallengeInfo* info) OVERRIDE;
64 virtual void OnCertificateRequested(net::URLRequest* request, 64 virtual void OnCertificateRequested(net::URLRequest* request,
65 net::SSLCertRequestInfo* info) OVERRIDE; 65 net::SSLCertRequestInfo* info) OVERRIDE;
66 virtual void OnSSLCertificateError(net::URLRequest* request, 66 virtual void OnSSLCertificateError(net::URLRequest* request,
67 const net::SSLInfo& info, 67 const net::SSLInfo& info,
68 bool fatal) OVERRIDE; 68 bool fatal) OVERRIDE;
69 virtual void OnBeforeNetworkStart(net::URLRequest* request, 69 virtual void OnBeforeNetworkStart(net::URLRequest* request,
70 bool* defer) OVERRIDE; 70 bool* defer) OVERRIDE;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 bool is_transferring_; 146 bool is_transferring_;
147 147
148 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 148 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); 150 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
151 }; 151 };
152 152
153 } // namespace content 153 } // namespace content
154 154
155 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 155 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_handler.h ('k') | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698