| 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/inspector/InspectorBaseAgent.h" | 8 #include "core/inspector/InspectorBaseAgent.h" |
| 9 #include "core/inspector/protocol/CacheStorage.h" | 9 #include "core/inspector/protocol/CacheStorage.h" |
| 10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "platform/wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class MODULES_EXPORT InspectorCacheStorageAgent final | 15 class MODULES_EXPORT InspectorCacheStorageAgent final |
| 16 : public InspectorBaseAgent<protocol::CacheStorage::Metainfo> { | 16 : public InspectorBaseAgent<protocol::CacheStorage::Metainfo> { |
| 17 WTF_MAKE_NONCOPYABLE(InspectorCacheStorageAgent); | 17 WTF_MAKE_NONCOPYABLE(InspectorCacheStorageAgent); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static InspectorCacheStorageAgent* Create() { | 20 static InspectorCacheStorageAgent* Create() { |
| 21 return new InspectorCacheStorageAgent(); | 21 return new InspectorCacheStorageAgent(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 const String& request, | 37 const String& request, |
| 38 std::unique_ptr<DeleteEntryCallback>) override; | 38 std::unique_ptr<DeleteEntryCallback>) override; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 explicit InspectorCacheStorageAgent(); | 41 explicit InspectorCacheStorageAgent(); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace blink | 44 } // namespace blink |
| 45 | 45 |
| 46 #endif // InspectorCacheStorageAgent_h | 46 #endif // InspectorCacheStorageAgent_h |
| OLD | NEW |