| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 std::string view_id; | 93 std::string view_id; |
| 94 }; | 94 }; |
| 95 #endif | 95 #endif |
| 96 | 96 |
| 97 void AppendStandardResourceThrottles( | 97 void AppendStandardResourceThrottles( |
| 98 net::URLRequest* request, | 98 net::URLRequest* request, |
| 99 content::ResourceContext* resource_context, | 99 content::ResourceContext* resource_context, |
| 100 content::ResourceType resource_type, | 100 content::ResourceType resource_type, |
| 101 ScopedVector<content::ResourceThrottle>* throttles); | 101 ScopedVector<content::ResourceThrottle>* throttles); |
| 102 | 102 |
| 103 #if defined(ENABLE_ONE_CLICK_SIGNIN) | |
| 104 // Append headers required to tell Gaia whether the sync interstitial | |
| 105 // should be shown or not. This header is only added for valid Gaia URLs. | |
| 106 void AppendChromeSyncGaiaHeader( | |
| 107 net::URLRequest* request, | |
| 108 content::ResourceContext* resource_context); | |
| 109 #endif | |
| 110 | |
| 111 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; | 103 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; |
| 112 scoped_refptr<SafeBrowsingService> safe_browsing_; | 104 scoped_refptr<SafeBrowsingService> safe_browsing_; |
| 113 #if defined(ENABLE_EXTENSIONS) | 105 #if defined(ENABLE_EXTENSIONS) |
| 114 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 106 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
| 115 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 107 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
| 116 #endif | 108 #endif |
| 117 prerender::PrerenderTracker* prerender_tracker_; | 109 prerender::PrerenderTracker* prerender_tracker_; |
| 118 | 110 |
| 119 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 111 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
| 120 }; | 112 }; |
| 121 | 113 |
| 122 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ | 114 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE
_H_ |
| OLD | NEW |