OLD | NEW |
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 CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 int child_id, | 59 int child_id, |
60 int route_id, | 60 int route_id, |
61 int request_id, | 61 int request_id, |
62 bool is_content_initiated, | 62 bool is_content_initiated, |
63 bool must_download, | 63 bool must_download, |
64 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; | 64 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; |
65 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( | 65 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( |
66 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | 66 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
67 virtual bool HandleExternalProtocol(const GURL& url, | 67 virtual bool HandleExternalProtocol(const GURL& url, |
68 int child_id, | 68 int child_id, |
69 int route_id, | 69 int route_id) OVERRIDE; |
70 bool initiated_by_user_gesture) OVERRIDE; | |
71 virtual bool ShouldForceDownloadResource( | 70 virtual bool ShouldForceDownloadResource( |
72 const GURL& url, const std::string& mime_type) OVERRIDE; | 71 const GURL& url, const std::string& mime_type) OVERRIDE; |
73 virtual bool ShouldInterceptResourceAsStream( | 72 virtual bool ShouldInterceptResourceAsStream( |
74 net::URLRequest* request, | 73 net::URLRequest* request, |
75 const std::string& mime_type, | 74 const std::string& mime_type, |
76 GURL* origin, | 75 GURL* origin, |
77 std::string* payload) OVERRIDE; | 76 std::string* payload) OVERRIDE; |
78 virtual void OnStreamCreated( | 77 virtual void OnStreamCreated( |
79 net::URLRequest* request, | 78 net::URLRequest* request, |
80 scoped_ptr<content::StreamHandle> stream) OVERRIDE; | 79 scoped_ptr<content::StreamHandle> stream) OVERRIDE; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #if defined(ENABLE_EXTENSIONS) | 121 #if defined(ENABLE_EXTENSIONS) |
123 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 122 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
124 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 123 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
125 #endif | 124 #endif |
126 prerender::PrerenderTracker* prerender_tracker_; | 125 prerender::PrerenderTracker* prerender_tracker_; |
127 | 126 |
128 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 127 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
129 }; | 128 }; |
130 | 129 |
131 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 130 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
OLD | NEW |