| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 int route_id) override; | 65 int route_id) override; |
| 66 virtual bool ShouldForceDownloadResource( | 66 virtual bool ShouldForceDownloadResource( |
| 67 const GURL& url, const std::string& mime_type) override; | 67 const GURL& url, const std::string& mime_type) override; |
| 68 virtual bool ShouldInterceptResourceAsStream( | 68 virtual bool ShouldInterceptResourceAsStream( |
| 69 net::URLRequest* request, | 69 net::URLRequest* request, |
| 70 const std::string& mime_type, | 70 const std::string& mime_type, |
| 71 GURL* origin, | 71 GURL* origin, |
| 72 std::string* payload) override; | 72 std::string* payload) override; |
| 73 virtual void OnStreamCreated( | 73 virtual void OnStreamCreated( |
| 74 net::URLRequest* request, | 74 net::URLRequest* request, |
| 75 scoped_ptr<content::StreamHandle> stream) override; | 75 scoped_ptr<content::StreamInfo> stream) override; |
| 76 virtual void OnResponseStarted( | 76 virtual void OnResponseStarted( |
| 77 net::URLRequest* request, | 77 net::URLRequest* request, |
| 78 content::ResourceContext* resource_context, | 78 content::ResourceContext* resource_context, |
| 79 content::ResourceResponse* response, | 79 content::ResourceResponse* response, |
| 80 IPC::Sender* sender) override; | 80 IPC::Sender* sender) override; |
| 81 virtual void OnRequestRedirected( | 81 virtual void OnRequestRedirected( |
| 82 const GURL& redirect_url, | 82 const GURL& redirect_url, |
| 83 net::URLRequest* request, | 83 net::URLRequest* request, |
| 84 content::ResourceContext* resource_context, | 84 content::ResourceContext* resource_context, |
| 85 content::ResourceResponse* response) override; | 85 content::ResourceResponse* response) override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 #if defined(ENABLE_EXTENSIONS) | 117 #if defined(ENABLE_EXTENSIONS) |
| 118 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 118 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
| 119 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 119 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
| 120 #endif | 120 #endif |
| 121 prerender::PrerenderTracker* prerender_tracker_; | 121 prerender::PrerenderTracker* prerender_tracker_; |
| 122 | 122 |
| 123 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 123 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |