OLD | NEW |
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 "modules/cachestorage/InspectorCacheStorageAgent.h" | 5 #include "modules/cachestorage/InspectorCacheStorageAgent.h" |
6 | 6 |
7 #include "platform/JSONValues.h" | |
8 #include "platform/heap/Handle.h" | 7 #include "platform/heap/Handle.h" |
9 #include "platform/inspector_protocol/Dispatcher.h" | 8 #include "platform/inspector_protocol/Dispatcher.h" |
10 #include "platform/inspector_protocol/TypeBuilder.h" | 9 #include "platform/inspector_protocol/TypeBuilder.h" |
| 10 #include "platform/inspector_protocol/Values.h" |
11 #include "platform/weborigin/DatabaseIdentifier.h" | 11 #include "platform/weborigin/DatabaseIdentifier.h" |
12 #include "platform/weborigin/KURL.h" | 12 #include "platform/weborigin/KURL.h" |
13 #include "platform/weborigin/SecurityOrigin.h" | 13 #include "platform/weborigin/SecurityOrigin.h" |
14 #include "public/platform/Platform.h" | 14 #include "public/platform/Platform.h" |
15 #include "public/platform/WebPassOwnPtr.h" | 15 #include "public/platform/WebPassOwnPtr.h" |
16 #include "public/platform/WebString.h" | 16 #include "public/platform/WebString.h" |
17 #include "public/platform/WebURL.h" | 17 #include "public/platform/WebURL.h" |
18 #include "public/platform/WebVector.h" | 18 #include "public/platform/WebVector.h" |
19 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" | 19 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" |
20 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" | 20 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |