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

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: resolved race condition 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
no sievers 2016/06/10 19:40:06 nit: remove newline
Jinsuk Kim 2016/06/13 03:21:12 Done.
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // 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 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ 6 #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 _ 7 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _
7 8
8 #include <map> 9 #include <map>
9 10
10 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
(...skipping 25 matching lines...) Expand all
36 net::URLRequest* request, 37 net::URLRequest* request,
37 content::ResourceContext* resource_context, 38 content::ResourceContext* resource_context,
38 content::AppCacheService* appcache_service, 39 content::AppCacheService* appcache_service,
39 content::ResourceType resource_type, 40 content::ResourceType resource_type,
40 ScopedVector<content::ResourceThrottle>* throttles) override; 41 ScopedVector<content::ResourceThrottle>* throttles) override;
41 void DownloadStarting( 42 void DownloadStarting(
42 net::URLRequest* request, 43 net::URLRequest* request,
43 content::ResourceContext* resource_context, 44 content::ResourceContext* resource_context,
44 int child_id, 45 int child_id,
45 int route_id, 46 int route_id,
46 int request_id,
47 bool is_content_initiated, 47 bool is_content_initiated,
48 bool must_download, 48 bool must_download,
49 ScopedVector<content::ResourceThrottle>* throttles) override; 49 ScopedVector<content::ResourceThrottle>* throttles) override;
50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 50 content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
51 net::AuthChallengeInfo* auth_info, 51 net::AuthChallengeInfo* auth_info,
52 net::URLRequest* request) override; 52 net::URLRequest* request) override;
53 bool HandleExternalProtocol( 53 bool HandleExternalProtocol(
54 const GURL& url, 54 const GURL& url,
55 int child_id, 55 int child_id,
56 const content::ResourceRequestInfo::WebContentsGetter& 56 const content::ResourceRequestInfo::WebContentsGetter&
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Only accessed on the IO thread. 102 // Only accessed on the IO thread.
103 PendingThrottleMap pending_throttles_; 103 PendingThrottleMap pending_throttles_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 105 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
106 }; 106 };
107 107
108 } // namespace android_webview 108 } // namespace android_webview
109 109
110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 110 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698