OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <stack> | 5 #include <stack> |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/task.h" | |
14 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
15 #include "base/synchronization/waitable_event.h" | 14 #include "base/synchronization/waitable_event.h" |
16 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
17 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
18 #include "net/url_request/url_request.h" | 17 #include "net/url_request/url_request.h" |
19 #include "net/url_request/url_request_error_job.h" | 18 #include "net/url_request/url_request_error_job.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "webkit/appcache/appcache.h" | 20 #include "webkit/appcache/appcache.h" |
22 #include "webkit/appcache/appcache_backend_impl.h" | 21 #include "webkit/appcache/appcache_backend_impl.h" |
23 #include "webkit/appcache/appcache_request_handler.h" | 22 #include "webkit/appcache/appcache_request_handler.h" |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 | 888 |
890 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) { | 889 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) { |
891 RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest); | 890 RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest); |
892 } | 891 } |
893 | 892 |
894 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) { | 893 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) { |
895 RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked); | 894 RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked); |
896 } | 895 } |
897 | 896 |
898 } // namespace appcache | 897 } // namespace appcache |
OLD | NEW |