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

Side by Side Diff: Source/modules/serviceworkers/Cache.h

Issue 311233007: ServiceWorker, remove old Cache API implementation to make way for the polyfill. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/Cache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef Cache_h
6 #define Cache_h
7
8 #include "bindings/v8/ScriptState.h"
9 #include "bindings/v8/ScriptWrappable.h"
10 #include "wtf/Forward.h"
11 #include "wtf/PassRefPtr.h"
12 #include "wtf/RefCounted.h"
13 #include "wtf/Vector.h"
14
15 namespace WebCore {
16
17 class ExecutionContext;
18 class ScriptPromise;
19
20 class Cache FINAL : public RefCounted<Cache>, public ScriptWrappable {
21 public:
22 static PassRefPtr<Cache> create(const Vector<String>& urlStrings);
23 ~Cache();
24
25 ScriptPromise match(ScriptState*, const String& urlString);
26 ScriptPromise ready(ScriptState*);
27
28 private:
29 Cache();
30 };
31
32 } // namespace WebCore
33
34 #endif // Cache_h
OLDNEW
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698