| 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 #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 "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 return adoptPtrWillBeNoop(new InspectorCacheStorageAgent()); | 23 return adoptPtrWillBeNoop(new InspectorCacheStorageAgent()); |
| 24 } | 24 } |
| 25 | 25 |
| 26 virtual ~InspectorCacheStorageAgent(); | 26 virtual ~InspectorCacheStorageAgent(); |
| 27 | 27 |
| 28 DECLARE_VIRTUAL_TRACE(); | 28 DECLARE_VIRTUAL_TRACE(); |
| 29 | 29 |
| 30 virtual void requestCacheNames(ErrorString*, const String& securityOrigin, P
assRefPtrWillBeRawPtr<RequestCacheNamesCallback>) override; | 30 virtual void requestCacheNames(ErrorString*, const String& securityOrigin, P
assRefPtrWillBeRawPtr<RequestCacheNamesCallback>) override; |
| 31 virtual void requestEntries(ErrorString*, const String& cacheId, int skipCou
nt, int pageSize, PassRefPtrWillBeRawPtr<RequestEntriesCallback>) override; | 31 virtual void requestEntries(ErrorString*, const String& cacheId, int skipCou
nt, int pageSize, PassRefPtrWillBeRawPtr<RequestEntriesCallback>) override; |
| 32 virtual void deleteCache(ErrorString*, const String& cacheId, PassRefPtrWill
BeRawPtr<DeleteCacheCallback>) override; | 32 virtual void deleteCache(ErrorString*, const String& cacheId, PassRefPtrWill
BeRawPtr<DeleteCacheCallback>) override; |
| 33 virtual void deleteEntry(ErrorString*, const String& cacheId, const String&
request, PassRefPtrWillBeRawPtr<DeleteEntryCallback>) override; |
| 33 | 34 |
| 34 private: | 35 private: |
| 35 explicit InspectorCacheStorageAgent(); | 36 explicit InspectorCacheStorageAgent(); |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace blink | 39 } // namespace blink |
| 39 | 40 |
| 40 #endif // InspectorCacheStorageAgent_h | 41 #endif // InspectorCacheStorageAgent_h |
| OLD | NEW |