OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/appcache/appcache_update_job.h" | 5 #include "content/browser/appcache/appcache_update_job.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
| 17 #include "base/message_loop/message_loop.h" |
17 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
18 #include "base/stl_util.h" | 19 #include "base/stl_util.h" |
19 #include "base/strings/stringprintf.h" | 20 #include "base/strings/stringprintf.h" |
20 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
21 #include "base/threading/thread.h" | 22 #include "base/threading/thread.h" |
22 #include "base/threading/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
23 #include "content/browser/appcache/appcache_group.h" | 24 #include "content/browser/appcache/appcache_group.h" |
24 #include "content/browser/appcache/appcache_host.h" | 25 #include "content/browser/appcache/appcache_host.h" |
25 #include "content/browser/appcache/appcache_response.h" | 26 #include "content/browser/appcache/appcache_response.h" |
26 #include "content/browser/appcache/mock_appcache_service.h" | 27 #include "content/browser/appcache/mock_appcache_service.h" |
(...skipping 3694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3721 | 3722 |
3722 TEST_F(AppCacheUpdateJobTest, CrossOriginHttpsSuccess) { | 3723 TEST_F(AppCacheUpdateJobTest, CrossOriginHttpsSuccess) { |
3723 RunTestOnIOThread(&AppCacheUpdateJobTest::CrossOriginHttpsSuccessTest); | 3724 RunTestOnIOThread(&AppCacheUpdateJobTest::CrossOriginHttpsSuccessTest); |
3724 } | 3725 } |
3725 | 3726 |
3726 TEST_F(AppCacheUpdateJobTest, CrossOriginHttpsDenied) { | 3727 TEST_F(AppCacheUpdateJobTest, CrossOriginHttpsDenied) { |
3727 RunTestOnIOThread(&AppCacheUpdateJobTest::CrossOriginHttpsDeniedTest); | 3728 RunTestOnIOThread(&AppCacheUpdateJobTest::CrossOriginHttpsDeniedTest); |
3728 } | 3729 } |
3729 | 3730 |
3730 } // namespace content | 3731 } // namespace content |
OLD | NEW |