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 "config.h" | |
6 #include "modules/cachestorage/GlobalCacheStorage.h" | 5 #include "modules/cachestorage/GlobalCacheStorage.h" |
7 | 6 |
8 #include "core/dom/ExecutionContext.h" | 7 #include "core/dom/ExecutionContext.h" |
9 #include "core/frame/LocalDOMWindow.h" | 8 #include "core/frame/LocalDOMWindow.h" |
10 #include "core/frame/UseCounter.h" | 9 #include "core/frame/UseCounter.h" |
11 #include "core/workers/WorkerGlobalScope.h" | 10 #include "core/workers/WorkerGlobalScope.h" |
12 #include "modules/cachestorage/CacheStorage.h" | 11 #include "modules/cachestorage/CacheStorage.h" |
13 #include "platform/Supplementable.h" | 12 #include "platform/Supplementable.h" |
14 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
15 #include "platform/weborigin/DatabaseIdentifier.h" | 14 #include "platform/weborigin/DatabaseIdentifier.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 { | 83 { |
85 return GlobalCacheStorageImpl<LocalDOMWindow>::from(toLocalDOMWindow(window)
, window.executionContext()).caches(toLocalDOMWindow(window), exceptionState); | 84 return GlobalCacheStorageImpl<LocalDOMWindow>::from(toLocalDOMWindow(window)
, window.executionContext()).caches(toLocalDOMWindow(window), exceptionState); |
86 } | 85 } |
87 | 86 |
88 CacheStorage* GlobalCacheStorage::caches(WorkerGlobalScope& worker, ExceptionSta
te& exceptionState) | 87 CacheStorage* GlobalCacheStorage::caches(WorkerGlobalScope& worker, ExceptionSta
te& exceptionState) |
89 { | 88 { |
90 return GlobalCacheStorageImpl<WorkerGlobalScope>::from(worker, worker.execut
ionContext()).caches(worker, exceptionState); | 89 return GlobalCacheStorageImpl<WorkerGlobalScope>::from(worker, worker.execut
ionContext()).caches(worker, exceptionState); |
91 } | 90 } |
92 | 91 |
93 } // namespace blink | 92 } // namespace blink |
OLD | NEW |