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_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ | 5 #ifndef CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ |
6 #define CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ | 6 #define CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 // If in DEFERRED_UNCHECKED_REDIRECT state, this is the | 171 // If in DEFERRED_UNCHECKED_REDIRECT state, this is the |
172 // URL we still need to check before resuming. | 172 // URL we still need to check before resuming. |
173 GURL unchecked_redirect_url_; | 173 GURL unchecked_redirect_url_; |
174 GURL url_being_checked_; | 174 GURL url_being_checked_; |
175 | 175 |
176 scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> database_manager_; | 176 scoped_refptr<safe_browsing::SafeBrowsingDatabaseManager> database_manager_; |
177 scoped_refptr<safe_browsing::SafeBrowsingUIManager> ui_manager_; | 177 scoped_refptr<safe_browsing::SafeBrowsingUIManager> ui_manager_; |
178 const net::URLRequest* request_; | 178 const net::URLRequest* request_; |
179 const content::ResourceType resource_type_; | 179 const content::ResourceType resource_type_; |
180 net::BoundNetLog bound_net_log_; | 180 net::NetLogWithSource net_log_with_source_; |
181 | 181 |
182 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingResourceThrottle); | 182 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingResourceThrottle); |
183 }; | 183 }; |
184 | 184 |
185 #endif // CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ | 185 #endif // CHROME_BROWSER_LOADER_SAFE_BROWSING_RESOURCE_THROTTLE_H_ |
OLD | NEW |