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

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

Issue 2334603002: Fix SSLUITest.TestBadHTTPSDownload with PlzNavigate. (Closed)
Patch Set: fix android temporarily Created 4 years, 3 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
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_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void RequestBeginning(net::URLRequest* request, 50 virtual void RequestBeginning(net::URLRequest* request,
51 ResourceContext* resource_context, 51 ResourceContext* resource_context,
52 AppCacheService* appcache_service, 52 AppCacheService* appcache_service,
53 ResourceType resource_type, 53 ResourceType resource_type,
54 ScopedVector<ResourceThrottle>* throttles); 54 ScopedVector<ResourceThrottle>* throttles);
55 55
56 // Allows an embedder to add additional resource handlers for a download. 56 // Allows an embedder to add additional resource handlers for a download.
57 // |must_download| is set if the request must be handled as a download. 57 // |must_download| is set if the request must be handled as a download.
58 virtual void DownloadStarting(net::URLRequest* request, 58 virtual void DownloadStarting(net::URLRequest* request,
59 ResourceContext* resource_context, 59 ResourceContext* resource_context,
60 int child_id,
61 int route_id,
62 bool is_content_initiated, 60 bool is_content_initiated,
63 bool must_download, 61 bool must_download,
64 ScopedVector<ResourceThrottle>* throttles); 62 ScopedVector<ResourceThrottle>* throttles);
65 63
66 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a 64 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a
67 // username and password. 65 // username and password.
68 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 66 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
69 net::AuthChallengeInfo* auth_info, 67 net::AuthChallengeInfo* auth_info,
70 net::URLRequest* request); 68 net::URLRequest* request);
71 69
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual void OnAbortedFrameLoad(const GURL& url, 140 virtual void OnAbortedFrameLoad(const GURL& url,
143 base::TimeDelta request_loading_time); 141 base::TimeDelta request_loading_time);
144 142
145 protected: 143 protected:
146 virtual ~ResourceDispatcherHostDelegate(); 144 virtual ~ResourceDispatcherHostDelegate();
147 }; 145 };
148 146
149 } // namespace content 147 } // namespace content
150 148
151 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 149 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698