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 "config.h" | |
6 #include "modules/cachestorage/InspectorCacheStorageAgent.h" | 5 #include "modules/cachestorage/InspectorCacheStorageAgent.h" |
7 | 6 |
8 #include "core/InspectorBackendDispatcher.h" | 7 #include "core/InspectorBackendDispatcher.h" |
9 #include "core/InspectorTypeBuilder.h" | 8 #include "core/InspectorTypeBuilder.h" |
10 #include "platform/JSONValues.h" | 9 #include "platform/JSONValues.h" |
11 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
12 #include "platform/weborigin/DatabaseIdentifier.h" | 11 #include "platform/weborigin/DatabaseIdentifier.h" |
13 #include "platform/weborigin/KURL.h" | 12 #include "platform/weborigin/KURL.h" |
14 #include "platform/weborigin/SecurityOrigin.h" | 13 #include "platform/weborigin/SecurityOrigin.h" |
15 #include "public/platform/Platform.h" | 14 #include "public/platform/Platform.h" |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 OwnPtr<WebServiceWorkerCacheStorage> cache = assertCacheStorageAndNameForId(
errorString, cacheId, &cacheName); | 461 OwnPtr<WebServiceWorkerCacheStorage> cache = assertCacheStorageAndNameForId(
errorString, cacheId, &cacheName); |
463 if (!cache) { | 462 if (!cache) { |
464 callback->sendFailure(*errorString); | 463 callback->sendFailure(*errorString); |
465 return; | 464 return; |
466 } | 465 } |
467 cache->dispatchOpen(new GetCacheForDeleteEntry(request, cacheName, callback)
, WebString(cacheName)); | 466 cache->dispatchOpen(new GetCacheForDeleteEntry(request, cacheName, callback)
, WebString(cacheName)); |
468 } | 467 } |
469 | 468 |
470 | 469 |
471 } // namespace blink | 470 } // namespace blink |
OLD | NEW |