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

Side by Side Diff: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h

Issue 481593002: Remove child/route parameters from ShouldBeginRequest and RequestBeginning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android build Created 6 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
« 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 16 matching lines...) Expand all
27 : public content::ResourceDispatcherHostDelegate { 27 : public content::ResourceDispatcherHostDelegate {
28 public: 28 public:
29 static void ResourceDispatcherHostCreated(); 29 static void ResourceDispatcherHostCreated();
30 30
31 // Overriden methods from ResourceDispatcherHostDelegate. 31 // Overriden methods from ResourceDispatcherHostDelegate.
32 virtual void RequestBeginning( 32 virtual void RequestBeginning(
33 net::URLRequest* request, 33 net::URLRequest* request,
34 content::ResourceContext* resource_context, 34 content::ResourceContext* resource_context,
35 content::AppCacheService* appcache_service, 35 content::AppCacheService* appcache_service,
36 content::ResourceType resource_type, 36 content::ResourceType resource_type,
37 int child_id,
38 int route_id,
39 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 37 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
40 virtual void DownloadStarting( 38 virtual void DownloadStarting(
41 net::URLRequest* request, 39 net::URLRequest* request,
42 content::ResourceContext* resource_context, 40 content::ResourceContext* resource_context,
43 int child_id, 41 int child_id,
44 int route_id, 42 int route_id,
45 int request_id, 43 int request_id,
46 bool is_content_initiated, 44 bool is_content_initiated,
47 bool must_download, 45 bool must_download,
48 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 46 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 92
95 // Only accessed on the IO thread. 93 // Only accessed on the IO thread.
96 PendingThrottleMap pending_throttles_; 94 PendingThrottleMap pending_throttles_;
97 95
98 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); 96 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate);
99 }; 97 };
100 98
101 } // namespace android_webview 99 } // namespace android_webview
102 100
103 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ 101 #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