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

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

Issue 22904002: When switching processes during redirects, update the cookie policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 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
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 24 matching lines...) Expand all
35 scoped_ptr<ResourceHandler> handler, 35 scoped_ptr<ResourceHandler> handler,
36 ResourceLoaderDelegate* delegate); 36 ResourceLoaderDelegate* delegate);
37 virtual ~ResourceLoader(); 37 virtual ~ResourceLoader();
38 38
39 void StartRequest(); 39 void StartRequest();
40 void CancelRequest(bool from_renderer); 40 void CancelRequest(bool from_renderer);
41 41
42 void ReportUploadProgress(); 42 void ReportUploadProgress();
43 43
44 bool is_transferring() const { return is_transferring_; } 44 bool is_transferring() const { return is_transferring_; }
45 void MarkAsTransferring(); 45 void MarkAsTransferring(const GURL& target_url);
46 void WillCompleteTransfer(); 46 void WillCompleteTransfer();
47 void CompleteTransfer(scoped_ptr<ResourceHandler> new_handler); 47 void CompleteTransfer(scoped_ptr<ResourceHandler> new_handler);
48 48
49 net::URLRequest* request() { return request_.get(); } 49 net::URLRequest* request() { return request_.get(); }
50 ResourceRequestInfoImpl* GetRequestInfo(); 50 ResourceRequestInfoImpl* GetRequestInfo();
51 51
52 void ClearLoginDelegate(); 52 void ClearLoginDelegate();
53 void ClearSSLClientAuthHandler(); 53 void ClearSSLClientAuthHandler();
54 54
55 // IPC message handlers: 55 // IPC message handlers:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 scoped_ptr<net::ClientCertStore> client_cert_store_; 137 scoped_ptr<net::ClientCertStore> client_cert_store_;
138 138
139 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 139 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); 141 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
142 }; 142 };
143 143
144 } // namespace content 144 } // namespace content
145 145
146 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 146 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/loader/resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698