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_NETWORK_URL_LOADER_IMPL_H_ | 5 #ifndef CONTENT_NETWORK_URL_LOADER_IMPL_H_ |
6 #define CONTENT_NETWORK_URL_LOADER_IMPL_H_ | 6 #define CONTENT_NETWORK_URL_LOADER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 #include "content/common/url_loader.mojom.h" | 14 #include "content/public/common/url_loader.mojom.h" |
15 #include "mojo/public/cpp/bindings/associated_binding.h" | 15 #include "mojo/public/cpp/bindings/associated_binding.h" |
16 #include "mojo/public/cpp/system/simple_watcher.h" | 16 #include "mojo/public/cpp/system/simple_watcher.h" |
17 #include "net/traffic_annotation/network_traffic_annotation.h" | 17 #include "net/traffic_annotation/network_traffic_annotation.h" |
18 #include "net/url_request/url_request.h" | 18 #include "net/url_request/url_request.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 class NetworkContext; | 22 class NetworkContext; |
23 class NetToMojoPendingBuffer; | 23 class NetToMojoPendingBuffer; |
24 | 24 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 mojo::SimpleWatcher peer_closed_handle_watcher_; | 73 mojo::SimpleWatcher peer_closed_handle_watcher_; |
74 | 74 |
75 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; | 75 base::WeakPtrFactory<URLLoaderImpl> weak_ptr_factory_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(URLLoaderImpl); | 77 DISALLOW_COPY_AND_ASSIGN(URLLoaderImpl); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace content | 80 } // namespace content |
81 | 81 |
82 #endif // CONTENT_NETWORK_URL_LOADER_IMPL_H_ | 82 #endif // CONTENT_NETWORK_URL_LOADER_IMPL_H_ |
OLD | NEW |