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 CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
11 #include "content/browser/renderer_host/layered_resource_handler.h" | 10 #include "content/browser/renderer_host/layered_resource_handler.h" |
12 #include "content/public/browser/resource_controller.h" | 11 #include "content/public/browser/resource_controller.h" |
13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 class ResourceThrottle; | 16 class ResourceThrottle; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ScopedVector<ResourceThrottle> throttles_; | 59 ScopedVector<ResourceThrottle> throttles_; |
61 size_t index_; | 60 size_t index_; |
62 | 61 |
63 GURL deferred_url_; | 62 GURL deferred_url_; |
64 scoped_refptr<ResourceResponse> deferred_response_; | 63 scoped_refptr<ResourceResponse> deferred_response_; |
65 }; | 64 }; |
66 | 65 |
67 } // namespace content | 66 } // namespace content |
68 | 67 |
69 #endif // CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ | 68 #endif // CONTENT_BROWSER_RENDERER_HOST_THROTTLING_RESOURCE_HANDLER_H_ |
OLD | NEW |