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

Side by Side Diff: public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h

Issue 1262603004: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 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 #ifndef WebServiceWorkerCacheStorage_h 5 #ifndef WebServiceWorkerCacheStorage_h
6 #define WebServiceWorkerCacheStorage_h 6 #define WebServiceWorkerCacheStorage_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h" 9 #include "public/platform/WebCommon.h"
10 #include "public/platform/WebPassOwnPtr.h" 10 #include "public/platform/WebPassOwnPtr.h"
11 #include "public/platform/WebServiceWorkerCache.h"
12 #include "public/platform/WebServiceWorkerCacheError.h"
13 #include "public/platform/WebString.h" 11 #include "public/platform/WebString.h"
14 #include "public/platform/WebVector.h" 12 #include "public/platform/WebVector.h"
13 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h"
14 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class WebServiceWorkerCache; 18 class WebServiceWorkerCache;
19 19
20 // An interface to the CacheStorage API, implemented by the embedder and passed in to Blink. Blink's implementation 20 // An interface to the CacheStorage API, implemented by the embedder and passed in to Blink. Blink's implementation
21 // of the ServiceWorker spec will call these methods to create/open caches, and expect callbacks from the embedder 21 // of the ServiceWorker spec will call these methods to create/open caches, and expect callbacks from the embedder
22 // after operations complete. 22 // after operations complete.
23 class WebServiceWorkerCacheStorage { 23 class WebServiceWorkerCacheStorage {
24 public: 24 public:
(...skipping 13 matching lines...) Expand all
38 virtual void dispatchHas(CacheStorageCallbacks*, const WebString& cacheName) = 0; 38 virtual void dispatchHas(CacheStorageCallbacks*, const WebString& cacheName) = 0;
39 virtual void dispatchOpen(CacheStorageWithCacheCallbacks*, const WebString& cacheName) = 0; 39 virtual void dispatchOpen(CacheStorageWithCacheCallbacks*, const WebString& cacheName) = 0;
40 virtual void dispatchDelete(CacheStorageCallbacks*, const WebString& cacheNa me) = 0; 40 virtual void dispatchDelete(CacheStorageCallbacks*, const WebString& cacheNa me) = 0;
41 virtual void dispatchKeys(CacheStorageKeysCallbacks*) = 0; 41 virtual void dispatchKeys(CacheStorageKeysCallbacks*) = 0;
42 virtual void dispatchMatch(CacheStorageMatchCallbacks*, const WebServiceWork erRequest&, const WebServiceWorkerCache::QueryParams&) = 0; 42 virtual void dispatchMatch(CacheStorageMatchCallbacks*, const WebServiceWork erRequest&, const WebServiceWorkerCache::QueryParams&) = 0;
43 }; 43 };
44 44
45 } // namespace blink 45 } // namespace blink
46 46
47 #endif // WebServiceWorkerCacheStorage_h 47 #endif // WebServiceWorkerCacheStorage_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698