| 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_request_handler.h" | 5 #include "content/browser/appcache/appcache_request_handler.h" | 
| 6 | 6 | 
| 7 #include <stdint.h> | 7 #include <stdint.h> | 
| 8 | 8 | 
| 9 #include <stack> | 9 #include <stack> | 
| 10 #include <string> | 10 #include <string> | 
| 11 #include <utility> | 11 #include <utility> | 
| 12 #include <vector> | 12 #include <vector> | 
| 13 | 13 | 
| 14 #include "base/bind.h" | 14 #include "base/bind.h" | 
| 15 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" | 
| 16 #include "base/callback.h" | 16 #include "base/callback.h" | 
| 17 #include "base/location.h" | 17 #include "base/location.h" | 
| 18 #include "base/macros.h" | 18 #include "base/macros.h" | 
| 19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" | 
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" | 
|  | 21 #include "base/message_loop/message_loop.h" | 
| 21 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" | 
| 22 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" | 
| 23 #include "base/synchronization/waitable_event.h" | 24 #include "base/synchronization/waitable_event.h" | 
| 24 #include "base/threading/thread.h" | 25 #include "base/threading/thread.h" | 
| 25 #include "base/threading/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" | 
| 26 #include "content/browser/appcache/appcache.h" | 27 #include "content/browser/appcache/appcache.h" | 
| 27 #include "content/browser/appcache/appcache_backend_impl.h" | 28 #include "content/browser/appcache/appcache_backend_impl.h" | 
| 28 #include "content/browser/appcache/appcache_url_request.h" | 29 #include "content/browser/appcache/appcache_url_request.h" | 
| 29 #include "content/browser/appcache/appcache_url_request_job.h" | 30 #include "content/browser/appcache/appcache_url_request_job.h" | 
| 30 #include "content/browser/appcache/mock_appcache_policy.h" | 31 #include "content/browser/appcache/mock_appcache_policy.h" | 
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1147 | 1148 | 
| 1148 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) { | 1149 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) { | 
| 1149   RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest); | 1150   RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest); | 
| 1150 } | 1151 } | 
| 1151 | 1152 | 
| 1152 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) { | 1153 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) { | 
| 1153   RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked); | 1154   RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked); | 
| 1154 } | 1155 } | 
| 1155 | 1156 | 
| 1156 }  // namespace content | 1157 }  // namespace content | 
| OLD | NEW | 
|---|