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

Side by Side Diff: android_webview/browser/renderer_host/aw_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
« no previous file with comments | « no previous file | android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.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 ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 25 matching lines...) Expand all
36 net::URLRequest* request, 36 net::URLRequest* request,
37 content::ResourceContext* resource_context, 37 content::ResourceContext* resource_context,
38 content::AppCacheService* appcache_service, 38 content::AppCacheService* appcache_service,
39 content::ResourceType resource_type, 39 content::ResourceType resource_type,
40 ScopedVector<content::ResourceThrottle>* throttles) override; 40 ScopedVector<content::ResourceThrottle>* throttles) override;
41 void DownloadStarting( 41 void DownloadStarting(
42 net::URLRequest* request, 42 net::URLRequest* request,
43 content::ResourceContext* resource_context, 43 content::ResourceContext* resource_context,
44 int child_id, 44 int child_id,
45 int route_id, 45 int route_id,
46 int request_id,
47 bool is_content_initiated, 46 bool is_content_initiated,
48 bool must_download, 47 bool must_download,
49 ScopedVector<content::ResourceThrottle>* throttles) override; 48 ScopedVector<content::ResourceThrottle>* throttles) override;
50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 49 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
51 net::AuthChallengeInfo* auth_info, 50 net::AuthChallengeInfo* auth_info,
52 net::URLRequest* request) override; 51 net::URLRequest* request) override;
53 bool HandleExternalProtocol( 52 bool HandleExternalProtocol(
54 const GURL& url, 53 const GURL& url,
55 int child_id, 54 int child_id,
56 const content::ResourceRequestInfo::WebContentsGetter& 55 const content::ResourceRequestInfo::WebContentsGetter&
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 100
102 // Only accessed on the IO thread. 101 // Only accessed on the IO thread.
103 PendingThrottleMap pending_throttles_; 102 PendingThrottleMap pending_throttles_;
104 103
105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 104 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
106 }; 105 };
107 106
108 } // namespace android_webview 107 } // namespace android_webview
109 108
110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 109 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698