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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 #include "modules/cachestorage/InspectorCacheStorageAgent.h" 5 #include "modules/cachestorage/InspectorCacheStorageAgent.h"
6 6
7 #include <algorithm>
8 #include <memory>
9 #include <utility>
7 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
8 #include "platform/weborigin/KURL.h" 11 #include "platform/weborigin/KURL.h"
9 #include "platform/weborigin/SecurityOrigin.h" 12 #include "platform/weborigin/SecurityOrigin.h"
10 #include "public/platform/Platform.h" 13 #include "public/platform/Platform.h"
11 #include "public/platform/WebSecurityOrigin.h" 14 #include "public/platform/WebSecurityOrigin.h"
12 #include "public/platform/WebString.h" 15 #include "public/platform/WebString.h"
13 #include "public/platform/WebURL.h" 16 #include "public/platform/WebURL.h"
14 #include "public/platform/WebVector.h" 17 #include "public/platform/WebVector.h"
15 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h" 18 #include "public/platform/modules/serviceworker/WebServiceWorkerCache.h"
16 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h" 19 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheError.h"
17 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h" 20 #include "public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h"
18 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" 21 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
19 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h" 22 #include "public/platform/modules/serviceworker/WebServiceWorkerResponse.h"
20 #include "wtf/Noncopyable.h" 23 #include "wtf/Noncopyable.h"
21 #include "wtf/PassRefPtr.h" 24 #include "wtf/PassRefPtr.h"
22 #include "wtf/PtrUtil.h" 25 #include "wtf/PtrUtil.h"
23 #include "wtf/RefCounted.h" 26 #include "wtf/RefCounted.h"
24 #include "wtf/RefPtr.h" 27 #include "wtf/RefPtr.h"
25 #include "wtf/Vector.h" 28 #include "wtf/Vector.h"
26 #include "wtf/text/StringBuilder.h" 29 #include "wtf/text/StringBuilder.h"
27 #include <algorithm>
28 #include <memory>
29 #include <utility>
30 30
31 using blink::protocol::Array; 31 using blink::protocol::Array;
32 using blink::protocol::CacheStorage::Cache; 32 using blink::protocol::CacheStorage::Cache;
33 using blink::protocol::CacheStorage::DataEntry; 33 using blink::protocol::CacheStorage::DataEntry;
34 34
35 typedef blink::protocol::CacheStorage::Backend::DeleteCacheCallback 35 typedef blink::protocol::CacheStorage::Backend::DeleteCacheCallback
36 DeleteCacheCallback; 36 DeleteCacheCallback;
37 typedef blink::protocol::CacheStorage::Backend::DeleteEntryCallback 37 typedef blink::protocol::CacheStorage::Backend::DeleteEntryCallback
38 DeleteEntryCallback; 38 DeleteEntryCallback;
39 typedef blink::protocol::CacheStorage::Backend::RequestCacheNamesCallback 39 typedef blink::protocol::CacheStorage::Backend::RequestCacheNamesCallback
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 if (!response.isSuccess()) { 484 if (!response.isSuccess()) {
485 callback->sendFailure(response); 485 callback->sendFailure(response);
486 return; 486 return;
487 } 487 }
488 cache->dispatchOpen(WTF::makeUnique<GetCacheForDeleteEntry>( 488 cache->dispatchOpen(WTF::makeUnique<GetCacheForDeleteEntry>(
489 request, cacheName, std::move(callback)), 489 request, cacheName, std::move(callback)),
490 WebString(cacheName)); 490 WebString(cacheName));
491 } 491 }
492 492
493 } // namespace blink 493 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698