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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.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/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
21 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/threading/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "build/build_config.h" | 25 #include "build/build_config.h" |
| 26 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
26 #include "content/browser/cache_storage/cache_storage_cache.h" | 27 #include "content/browser/cache_storage/cache_storage_cache.h" |
27 #include "content/browser/cache_storage/cache_storage_context_impl.h" | 28 #include "content/browser/cache_storage/cache_storage_context_impl.h" |
28 #include "content/browser/cache_storage/cache_storage_manager.h" | 29 #include "content/browser/cache_storage/cache_storage_manager.h" |
29 #include "content/browser/fileapi/chrome_blob_storage_context.h" | |
30 #include "content/browser/service_worker/embedded_worker_instance.h" | 30 #include "content/browser/service_worker/embedded_worker_instance.h" |
31 #include "content/browser/service_worker/embedded_worker_registry.h" | 31 #include "content/browser/service_worker/embedded_worker_registry.h" |
32 #include "content/browser/service_worker/service_worker_context_core.h" | 32 #include "content/browser/service_worker/service_worker_context_core.h" |
33 #include "content/browser/service_worker/service_worker_context_observer.h" | 33 #include "content/browser/service_worker/service_worker_context_observer.h" |
34 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 34 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
35 #include "content/browser/service_worker/service_worker_fetch_dispatcher.h" | 35 #include "content/browser/service_worker/service_worker_fetch_dispatcher.h" |
36 #include "content/browser/service_worker/service_worker_registration.h" | 36 #include "content/browser/service_worker/service_worker_registration.h" |
37 #include "content/browser/service_worker/service_worker_test_utils.h" | 37 #include "content/browser/service_worker/service_worker_test_utils.h" |
38 #include "content/browser/service_worker/service_worker_version.h" | 38 #include "content/browser/service_worker/service_worker_version.h" |
39 #include "content/common/service_worker/service_worker_messages.h" | 39 #include "content/common/service_worker/service_worker_messages.h" |
(...skipping 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1834 NavigateToTestPage(); | 1834 NavigateToTestPage(); |
1835 // The V8 code cache must be stored to the CacheStorage which must be bigger | 1835 // The V8 code cache must be stored to the CacheStorage which must be bigger |
1836 // than 12 byte. | 1836 // than 12 byte. |
1837 EXPECT_GT(GetSideDataSize(), kV8CacheTimeStampDataSize); | 1837 EXPECT_GT(GetSideDataSize(), kV8CacheTimeStampDataSize); |
1838 | 1838 |
1839 NavigateToTestPage(); | 1839 NavigateToTestPage(); |
1840 EXPECT_GT(GetSideDataSize(), kV8CacheTimeStampDataSize); | 1840 EXPECT_GT(GetSideDataSize(), kV8CacheTimeStampDataSize); |
1841 } | 1841 } |
1842 | 1842 |
1843 } // namespace content | 1843 } // namespace content |
OLD | NEW |