OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CHILD_URL_LOADER_CLIENT_IMPL_H_ | 5 #ifndef CONTENT_CHILD_URL_LOADER_CLIENT_IMPL_H_ |
6 #define CONTENT_CHILD_URL_LOADER_CLIENT_IMPL_H_ | 6 #define CONTENT_CHILD_URL_LOADER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
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 "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
16 #include "mojo/public/cpp/system/data_pipe.h" | 16 #include "mojo/public/cpp/system/data_pipe.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
20 } // namespace base | 20 } // namespace base |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 struct RedirectInfo; | 23 struct RedirectInfo; |
24 } // namespace net | 24 } // namespace net |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool is_deferred_ = false; | 74 bool is_deferred_ = false; |
75 int32_t accumulated_transfer_size_diff_during_deferred_ = 0; | 75 int32_t accumulated_transfer_size_diff_during_deferred_ = 0; |
76 ResourceDispatcher* const resource_dispatcher_; | 76 ResourceDispatcher* const resource_dispatcher_; |
77 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 77 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
78 base::WeakPtrFactory<URLLoaderClientImpl> weak_factory_; | 78 base::WeakPtrFactory<URLLoaderClientImpl> weak_factory_; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace content | 81 } // namespace content |
82 | 82 |
83 #endif // CONTENT_CHILD_URL_LOADER_CLIENT_IMPL_H_ | 83 #endif // CONTENT_CHILD_URL_LOADER_CLIENT_IMPL_H_ |
OLD | NEW |