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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; | 70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; |
71 virtual bool HandleExternalProtocol(const GURL& url, | 71 virtual bool HandleExternalProtocol(const GURL& url, |
72 int child_id, | 72 int child_id, |
73 int route_id) OVERRIDE; | 73 int route_id) OVERRIDE; |
74 virtual bool ShouldForceDownloadResource( | 74 virtual bool ShouldForceDownloadResource( |
75 const GURL& url, const std::string& mime_type) OVERRIDE; | 75 const GURL& url, const std::string& mime_type) OVERRIDE; |
76 virtual bool ShouldInterceptResourceAsStream( | 76 virtual bool ShouldInterceptResourceAsStream( |
77 content::ResourceContext* resource_context, | 77 content::ResourceContext* resource_context, |
78 const GURL& url, | 78 const GURL& url, |
79 const std::string& mime_type, | 79 const std::string& mime_type, |
80 GURL* security_origin, | 80 GURL* origin, |
81 std::string* target_id) OVERRIDE; | 81 std::string* target_id) OVERRIDE; |
82 virtual void OnStreamCreated( | 82 virtual void OnStreamCreated( |
83 content::ResourceContext* resource_context, | 83 content::ResourceContext* resource_context, |
84 int render_process_id, | 84 int render_process_id, |
85 int render_view_id, | 85 int render_view_id, |
86 const std::string& target_id, | 86 const std::string& target_id, |
87 scoped_ptr<content::StreamHandle> stream, | 87 scoped_ptr<content::StreamHandle> stream, |
88 int64 expected_content_size) OVERRIDE; | 88 int64 expected_content_size) OVERRIDE; |
89 virtual void OnResponseStarted( | 89 virtual void OnResponseStarted( |
90 net::URLRequest* request, | 90 net::URLRequest* request, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 125 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
126 scoped_refptr<SafeBrowsingService> safe_browsing_; | 126 scoped_refptr<SafeBrowsingService> safe_browsing_; |
127 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 127 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
128 prerender::PrerenderTracker* prerender_tracker_; | 128 prerender::PrerenderTracker* prerender_tracker_; |
129 | 129 |
130 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 130 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
131 }; | 131 }; |
132 | 132 |
133 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 133 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
OLD | NEW |