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

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

Issue 2738453004: Avoid using declarations in headers which introduce symbol conflicts. (Closed)
Patch Set: Created 3 years, 9 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 "platform/heap/Handle.h" 7 #include "platform/heap/Handle.h"
8 #include "platform/weborigin/KURL.h" 8 #include "platform/weborigin/KURL.h"
9 #include "platform/weborigin/SecurityOrigin.h" 9 #include "platform/weborigin/SecurityOrigin.h"
10 #include "public/platform/Platform.h" 10 #include "public/platform/Platform.h"
(...skipping 13 matching lines...) Expand all
24 #include "wtf/RefPtr.h" 24 #include "wtf/RefPtr.h"
25 #include "wtf/Vector.h" 25 #include "wtf/Vector.h"
26 #include "wtf/text/StringBuilder.h" 26 #include "wtf/text/StringBuilder.h"
27 #include <algorithm> 27 #include <algorithm>
28 #include <memory> 28 #include <memory>
29 #include <utility> 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 using blink::protocol::Response;
34 35
35 typedef blink::protocol::CacheStorage::Backend::DeleteCacheCallback 36 typedef blink::protocol::CacheStorage::Backend::DeleteCacheCallback
36 DeleteCacheCallback; 37 DeleteCacheCallback;
37 typedef blink::protocol::CacheStorage::Backend::DeleteEntryCallback 38 typedef blink::protocol::CacheStorage::Backend::DeleteEntryCallback
38 DeleteEntryCallback; 39 DeleteEntryCallback;
39 typedef blink::protocol::CacheStorage::Backend::RequestCacheNamesCallback 40 typedef blink::protocol::CacheStorage::Backend::RequestCacheNamesCallback
40 RequestCacheNamesCallback; 41 RequestCacheNamesCallback;
41 typedef blink::protocol::CacheStorage::Backend::RequestEntriesCallback 42 typedef blink::protocol::CacheStorage::Backend::RequestEntriesCallback
42 RequestEntriesCallback; 43 RequestEntriesCallback;
43 typedef blink::WebServiceWorkerCache::BatchOperation BatchOperation; 44 typedef blink::WebServiceWorkerCache::BatchOperation BatchOperation;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 if (!response.isSuccess()) { 485 if (!response.isSuccess()) {
485 callback->sendFailure(response); 486 callback->sendFailure(response);
486 return; 487 return;
487 } 488 }
488 cache->dispatchOpen(WTF::makeUnique<GetCacheForDeleteEntry>( 489 cache->dispatchOpen(WTF::makeUnique<GetCacheForDeleteEntry>(
489 request, cacheName, std::move(callback)), 490 request, cacheName, std::move(callback)),
490 WebString(cacheName)); 491 WebString(cacheName));
491 } 492 }
492 493
493 } // namespace blink 494 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698