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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 enum LoadPolicy m_loadPolicy; | 74 enum LoadPolicy m_loadPolicy; |
75 CachePolicy m_policy; | 75 CachePolicy m_policy; |
76 RefPtr<scheduler::FakeWebTaskRunner> m_runner; | 76 RefPtr<scheduler::FakeWebTaskRunner> m_runner; |
77 bool m_complete; | 77 bool m_complete; |
78 long long m_transferSize; | 78 long long m_transferSize; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace blink | 81 } // namespace blink |
82 | 82 |
83 #endif | 83 #endif |
OLD | NEW |