Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: content/common/throttling_url_loader.h

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698