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

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

Issue 2014803002: Move DownloadControllerAndroid from content/ to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing tests/bugs Created 4 years, 6 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 AppCacheService* appcache_service, 54 AppCacheService* appcache_service,
55 ResourceType resource_type, 55 ResourceType resource_type,
56 ScopedVector<ResourceThrottle>* throttles); 56 ScopedVector<ResourceThrottle>* throttles);
57 57
58 // Allows an embedder to add additional resource handlers for a download. 58 // Allows an embedder to add additional resource handlers for a download.
59 // |must_download| is set if the request must be handled as a download. 59 // |must_download| is set if the request must be handled as a download.
60 virtual void DownloadStarting(net::URLRequest* request, 60 virtual void DownloadStarting(net::URLRequest* request,
61 ResourceContext* resource_context, 61 ResourceContext* resource_context,
62 int child_id, 62 int child_id,
63 int route_id, 63 int route_id,
64 int request_id,
65 bool is_content_initiated, 64 bool is_content_initiated,
66 bool must_download, 65 bool must_download,
67 ScopedVector<ResourceThrottle>* throttles); 66 ScopedVector<ResourceThrottle>* throttles);
68 67
69 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a 68 // Creates a ResourceDispatcherHostLoginDelegate that asks the user for a
70 // username and password. 69 // username and password.
71 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 70 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
72 net::AuthChallengeInfo* auth_info, 71 net::AuthChallengeInfo* auth_info,
73 net::URLRequest* request); 72 net::URLRequest* request);
74 73
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual NavigationData* GetNavigationData(net::URLRequest* request) const; 136 virtual NavigationData* GetNavigationData(net::URLRequest* request) const;
138 137
139 protected: 138 protected:
140 ResourceDispatcherHostDelegate(); 139 ResourceDispatcherHostDelegate();
141 virtual ~ResourceDispatcherHostDelegate(); 140 virtual ~ResourceDispatcherHostDelegate();
142 }; 141 };
143 142
144 } // namespace content 143 } // namespace content
145 144
146 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 145 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698