OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_COMMON_THROTTLING_URL_LOADER_H_ | 5 #ifndef CONTENT_COMMON_THROTTLING_URL_LOADER_H_ |
6 #define CONTENT_COMMON_THROTTLING_URL_LOADER_H_ | 6 #define CONTENT_COMMON_THROTTLING_URL_LOADER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/common/possibly_associated_interface_ptr.h" | 14 #include "content/common/possibly_associated_interface_ptr.h" |
15 #include "content/common/url_loader.mojom.h" | 15 #include "content/public/common/url_loader.mojom.h" |
16 #include "content/common/url_loader_factory.mojom.h" | 16 #include "content/public/common/url_loader_factory.mojom.h" |
17 #include "content/public/common/url_loader_throttle.h" | 17 #include "content/public/common/url_loader_throttle.h" |
18 #include "mojo/public/cpp/bindings/binding.h" | 18 #include "mojo/public/cpp/bindings/binding.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 namespace mojom { | 26 namespace mojom { |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 std::unique_ptr<PriorityInfo> priority_info_; | 191 std::unique_ptr<PriorityInfo> priority_info_; |
192 | 192 |
193 const net::NetworkTrafficAnnotationTag traffic_annotation_; | 193 const net::NetworkTrafficAnnotationTag traffic_annotation_; |
194 | 194 |
195 DISALLOW_COPY_AND_ASSIGN(ThrottlingURLLoader); | 195 DISALLOW_COPY_AND_ASSIGN(ThrottlingURLLoader); |
196 }; | 196 }; |
197 | 197 |
198 } // namespace content | 198 } // namespace content |
199 | 199 |
200 #endif // CONTENT_COMMON_THROTTLING_URL_LOADER_H_ | 200 #endif // CONTENT_COMMON_THROTTLING_URL_LOADER_H_ |
OLD | NEW |