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 MockFetchContext_h | 5 #ifndef MockFetchContext_h |
6 #define MockFetchContext_h | 6 #define MockFetchContext_h |
7 | 7 |
8 #include "core/fetch/FetchContext.h" | 8 #include "platform/loader/fetch/FetchContext.h" |
9 #include "core/fetch/FetchRequest.h" | 9 #include "platform/loader/fetch/FetchRequest.h" |
10 #include "platform/network/ResourceTimingInfo.h" | 10 #include "platform/network/ResourceTimingInfo.h" |
11 #include "platform/scheduler/test/fake_web_task_runner.h" | 11 #include "platform/scheduler/test/fake_web_task_runner.h" |
12 #include "wtf/PtrUtil.h" | 12 #include "wtf/PtrUtil.h" |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class KURL; | 18 class KURL; |
19 class ResourceRequest; | 19 class ResourceRequest; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 enum LoadPolicy m_loadPolicy; | 80 enum LoadPolicy m_loadPolicy; |
81 CachePolicy m_policy; | 81 CachePolicy m_policy; |
82 RefPtr<WebTaskRunner> m_runner; | 82 RefPtr<WebTaskRunner> m_runner; |
83 bool m_complete; | 83 bool m_complete; |
84 long long m_transferSize; | 84 long long m_transferSize; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 #endif | 89 #endif |
OLD | NEW |