Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Side by Side Diff: Source/modules/cachestorage/GlobalCacheStorage.cpp

Issue 1055543004: Move Cache Storage API implementation to modules/cachestorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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" 5 #include "config.h"
6 #include "modules/serviceworkers/GlobalCacheStorage.h" 6 #include "modules/cachestorage/GlobalCacheStorage.h"
7 7
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/LocalDOMWindow.h" 9 #include "core/frame/LocalDOMWindow.h"
10 #include "core/frame/UseCounter.h" 10 #include "core/frame/UseCounter.h"
11 #include "core/workers/WorkerGlobalScope.h" 11 #include "core/workers/WorkerGlobalScope.h"
12 #include "modules/serviceworkers/CacheStorage.h" 12 #include "modules/cachestorage/CacheStorage.h"
13 #include "platform/Supplementable.h" 13 #include "platform/Supplementable.h"
14 #include "platform/heap/Handle.h" 14 #include "platform/heap/Handle.h"
15 #include "platform/weborigin/DatabaseIdentifier.h" 15 #include "platform/weborigin/DatabaseIdentifier.h"
16 #include "public/platform/Platform.h" 16 #include "public/platform/Platform.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 namespace { 20 namespace {
21 21
22 template <typename T> 22 template <typename T>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 { 75 {
76 return GlobalCacheStorageImpl<LocalDOMWindow>::from(toLocalDOMWindow(window) , window.executionContext()).caches(window.executionContext(), exceptionState); 76 return GlobalCacheStorageImpl<LocalDOMWindow>::from(toLocalDOMWindow(window) , window.executionContext()).caches(window.executionContext(), exceptionState);
77 } 77 }
78 78
79 CacheStorage* GlobalCacheStorage::caches(WorkerGlobalScope& worker, ExceptionSta te& exceptionState) 79 CacheStorage* GlobalCacheStorage::caches(WorkerGlobalScope& worker, ExceptionSta te& exceptionState)
80 { 80 {
81 return GlobalCacheStorageImpl<WorkerGlobalScope>::from(worker, worker.execut ionContext()).caches(worker.executionContext(), exceptionState); 81 return GlobalCacheStorageImpl<WorkerGlobalScope>::from(worker, worker.execut ionContext()).caches(worker.executionContext(), exceptionState);
82 } 82 }
83 83
84 } // namespace blink 84 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/cachestorage/GlobalCacheStorage.h ('k') | Source/modules/cachestorage/InspectorCacheStorageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698