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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCache.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 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
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 WebServiceWorkerCache_h 5 #ifndef WebServiceWorkerCache_h
6 #define WebServiceWorkerCache_h 6 #define WebServiceWorkerCache_h
7 7
8 #include <memory>
9 #include <utility>
8 #include "public/platform/WebCallbacks.h" 10 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h" 11 #include "public/platform/WebCommon.h"
10 #include "public/platform/WebString.h" 12 #include "public/platform/WebString.h"
11 #include "public/platform/WebVector.h" 13 #include "public/platform/WebVector.h"
12 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" 14 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
13 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" 15 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
14 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" 16 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
15 #include <memory>
16 #include <utility>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 // The Service Worker Cache API. The embedder provides the implementation of the 20 // The Service Worker Cache API. The embedder provides the implementation of the
21 // Cache to Blink. Blink uses the interface to operate on entries. This object 21 // Cache to Blink. Blink uses the interface to operate on entries. This object
22 // is owned by Blink, and should be destroyed as each Cache instance is no 22 // is owned by Blink, and should be destroyed as each Cache instance is no
23 // longer in use. 23 // longer in use.
24 class WebServiceWorkerCache { 24 class WebServiceWorkerCache {
25 public: 25 public:
26 using CacheMatchCallbacks = 26 using CacheMatchCallbacks =
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void DispatchKeys(std::unique_ptr<CacheWithRequestsCallbacks>, 76 virtual void DispatchKeys(std::unique_ptr<CacheWithRequestsCallbacks>,
77 const WebServiceWorkerRequest&, 77 const WebServiceWorkerRequest&,
78 const QueryParams&) = 0; 78 const QueryParams&) = 0;
79 virtual void DispatchBatch(std::unique_ptr<CacheBatchCallbacks>, 79 virtual void DispatchBatch(std::unique_ptr<CacheBatchCallbacks>,
80 const WebVector<BatchOperation>&) = 0; 80 const WebVector<BatchOperation>&) = 0;
81 }; 81 };
82 82
83 } // namespace blink 83 } // namespace blink
84 84
85 #endif // WebServiceWorkerCache_h 85 #endif // WebServiceWorkerCache_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698