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

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

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
« no previous file with comments | « Source/modules/cachestorage/CacheTest.cpp ('k') | Source/modules/fetch/FetchRequestData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "config.h" 5 #include "config.h"
6 #include "modules/cachestorage/InspectorCacheStorageAgent.h" 6 #include "modules/cachestorage/InspectorCacheStorageAgent.h"
7 7
8 #include "core/InspectorBackendDispatcher.h" 8 #include "core/InspectorBackendDispatcher.h"
9 #include "core/InspectorTypeBuilder.h" 9 #include "core/InspectorTypeBuilder.h"
10 #include "platform/JSONValues.h" 10 #include "platform/JSONValues.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "platform/weborigin/DatabaseIdentifier.h" 12 #include "platform/weborigin/DatabaseIdentifier.h"
13 #include "platform/weborigin/KURL.h" 13 #include "platform/weborigin/KURL.h"
14 #include "platform/weborigin/SecurityOrigin.h" 14 #include "platform/weborigin/SecurityOrigin.h"
15 #include "public/platform/Platform.h" 15 #include "public/platform/Platform.h"
16 #include "public/platform/WebPassOwnPtr.h" 16 #include "public/platform/WebPassOwnPtr.h"
17 #include "public/platform/WebServiceWorkerCache.h"
18 #include "public/platform/WebServiceWorkerCacheError.h"
19 #include "public/platform/WebServiceWorkerCacheStorage.h"
20 #include "public/platform/WebServiceWorkerRequest.h"
21 #include "public/platform/WebServiceWorkerResponse.h"
22 #include "public/platform/WebString.h" 17 #include "public/platform/WebString.h"
23 #include "public/platform/WebURL.h" 18 #include "public/platform/WebURL.h"
24 #include "public/platform/WebVector.h" 19 #include "public/platform/WebVector.h"
20 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h"
21 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
22 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h"
23 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
24 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
25 #include "wtf/Noncopyable.h" 25 #include "wtf/Noncopyable.h"
26 #include "wtf/OwnPtr.h" 26 #include "wtf/OwnPtr.h"
27 #include "wtf/PassRefPtr.h" 27 #include "wtf/PassRefPtr.h"
28 #include "wtf/RefCounted.h" 28 #include "wtf/RefCounted.h"
29 #include "wtf/RefPtr.h" 29 #include "wtf/RefPtr.h"
30 #include "wtf/Vector.h" 30 #include "wtf/Vector.h"
31 #include "wtf/text/StringBuilder.h" 31 #include "wtf/text/StringBuilder.h"
32 32
33 #include <algorithm> 33 #include <algorithm>
34 34
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 OwnPtr<WebServiceWorkerCacheStorage> cache = assertCacheStorageAndNameForId( errorString, cacheId, &cacheName); 463 OwnPtr<WebServiceWorkerCacheStorage> cache = assertCacheStorageAndNameForId( errorString, cacheId, &cacheName);
464 if (!cache) { 464 if (!cache) {
465 callback->sendFailure(*errorString); 465 callback->sendFailure(*errorString);
466 return; 466 return;
467 } 467 }
468 cache->dispatchOpen(new GetCacheForDeleteEntry(request, cacheName, callback) , WebString(cacheName)); 468 cache->dispatchOpen(new GetCacheForDeleteEntry(request, cacheName, callback) , WebString(cacheName));
469 } 469 }
470 470
471 471
472 } // namespace blink 472 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/cachestorage/CacheTest.cpp ('k') | Source/modules/fetch/FetchRequestData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698