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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 #ifndef InspectorCacheStorageAgent_h 5 #ifndef InspectorCacheStorageAgent_h
6 #define InspectorCacheStorageAgent_h 6 #define InspectorCacheStorageAgent_h
7 7
8 #include "core/InspectorFrontend.h" 8 #include "core/InspectorFrontend.h"
9 #include "core/inspector/InspectorBaseAgent.h" 9 #include "core/inspector/InspectorBaseAgent.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
11 #include "wtf/PassOwnPtr.h" 11 #include "wtf/PassOwnPtr.h"
12 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 typedef String ErrorString; 16 typedef String ErrorString;
17 17
18 class MODULES_EXPORT InspectorCacheStorageAgent final : public InspectorBaseAgen t<InspectorCacheStorageAgent, InspectorFrontend::CacheStorage>, public Inspector BackendDispatcher::CacheStorageCommandHandler { 18 class MODULES_EXPORT InspectorCacheStorageAgent final : public InspectorBaseAgen t<InspectorCacheStorageAgent, InspectorFrontend::CacheStorage>, public Inspector BackendDispatcher::CacheStorageCommandHandler {
19 WTF_MAKE_NONCOPYABLE(InspectorCacheStorageAgent); 19 WTF_MAKE_NONCOPYABLE(InspectorCacheStorageAgent);
20 20
21 public: 21 public:
22 static PassOwnPtrWillBeRawPtr<InspectorCacheStorageAgent> create() 22 static RawPtr<InspectorCacheStorageAgent> create()
23 { 23 {
24 return adoptPtrWillBeNoop(new InspectorCacheStorageAgent()); 24 return (new InspectorCacheStorageAgent());
25 } 25 }
26 26
27 ~InspectorCacheStorageAgent() override; 27 ~InspectorCacheStorageAgent() override;
28 28
29 DECLARE_VIRTUAL_TRACE(); 29 DECLARE_VIRTUAL_TRACE();
30 30
31 void requestCacheNames(ErrorString*, const String& securityOrigin, PassRefPt r<RequestCacheNamesCallback>) override; 31 void requestCacheNames(ErrorString*, const String& securityOrigin, PassRefPt r<RequestCacheNamesCallback>) override;
32 void requestEntries(ErrorString*, const String& cacheId, int skipCount, int pageSize, PassRefPtr<RequestEntriesCallback>) override; 32 void requestEntries(ErrorString*, const String& cacheId, int skipCount, int pageSize, PassRefPtr<RequestEntriesCallback>) override;
33 void deleteCache(ErrorString*, const String& cacheId, PassRefPtr<DeleteCache Callback>) override; 33 void deleteCache(ErrorString*, const String& cacheId, PassRefPtr<DeleteCache Callback>) override;
34 void deleteEntry(ErrorString*, const String& cacheId, const String& request, PassRefPtr<DeleteEntryCallback>) override; 34 void deleteEntry(ErrorString*, const String& cacheId, const String& request, PassRefPtr<DeleteEntryCallback>) override;
35 35
36 private: 36 private:
37 explicit InspectorCacheStorageAgent(); 37 explicit InspectorCacheStorageAgent();
38 }; 38 };
39 39
40 } // namespace blink 40 } // namespace blink
41 41
42 #endif // InspectorCacheStorageAgent_h 42 #endif // InspectorCacheStorageAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698