OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "content/browser/loader/async_revalidation_manager.h" | 5 #include "content/browser/loader/async_revalidation_manager.h" |
6 | 6 |
7 #include <deque> | 7 #include <deque> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/memory/shared_memory_handle.h" | 15 #include "base/memory/shared_memory_handle.h" |
16 #include "base/pickle.h" | 16 #include "base/pickle.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "content/browser/child_process_security_policy_impl.h" | |
20 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 19 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
21 #include "content/browser/loader/resource_message_filter.h" | 20 #include "content/browser/loader/resource_message_filter.h" |
| 21 #include "content/browser/shared/child_process_security_policy_helper.h" |
22 #include "content/common/child_process_host_impl.h" | 22 #include "content/common/child_process_host_impl.h" |
23 #include "content/common/resource_messages.h" | 23 #include "content/common/resource_messages.h" |
24 #include "content/common/resource_request.h" | 24 #include "content/common/resource_request.h" |
25 #include "content/public/browser/resource_context.h" | 25 #include "content/public/browser/resource_context.h" |
26 #include "content/public/common/appcache_info.h" | 26 #include "content/public/common/appcache_info.h" |
27 #include "content/public/common/process_type.h" | 27 #include "content/public/common/process_type.h" |
28 #include "content/public/common/resource_type.h" | 28 #include "content/public/common/resource_type.h" |
29 #include "content/public/test/test_browser_context.h" | 29 #include "content/public/test/test_browser_context.h" |
30 #include "content/public/test/test_browser_thread_bundle.h" | 30 #include "content/public/test/test_browser_thread_bundle.h" |
31 #include "ipc/ipc_param_traits.h" | 31 #include "ipc/ipc_param_traits.h" |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 // already completed. | 547 // already completed. |
548 EXPECT_TRUE(NextRequestWasDestroyed()); | 548 EXPECT_TRUE(NextRequestWasDestroyed()); |
549 | 549 |
550 // But no others. | 550 // But no others. |
551 EXPECT_TRUE(IsEmpty()); | 551 EXPECT_TRUE(IsEmpty()); |
552 } | 552 } |
553 | 553 |
554 } // namespace | 554 } // namespace |
555 | 555 |
556 } // namespace content | 556 } // namespace content |
OLD | NEW |