| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef InspectorIndexedDBAgent_h | 31 #ifndef InspectorIndexedDBAgent_h |
| 32 #define InspectorIndexedDBAgent_h | 32 #define InspectorIndexedDBAgent_h |
| 33 | 33 |
| 34 #include "core/inspector/InspectorBaseAgent.h" | 34 #include "core/inspector/InspectorBaseAgent.h" |
| 35 #include "core/inspector/protocol/IndexedDB.h" | 35 #include "core/inspector/protocol/IndexedDB.h" |
| 36 #include "modules/ModulesExport.h" | 36 #include "modules/ModulesExport.h" |
| 37 #include "wtf/text/WTFString.h" | 37 #include "wtf/text/WTFString.h" |
| 38 | 38 |
| 39 namespace v8_inspector { | 39 #include <v8-inspector.h> |
| 40 class V8InspectorSession; | |
| 41 } | |
| 42 | 40 |
| 43 namespace blink { | 41 namespace blink { |
| 44 | 42 |
| 45 class InspectedFrames; | 43 class InspectedFrames; |
| 46 | 44 |
| 47 class MODULES_EXPORT InspectorIndexedDBAgent final : public InspectorBaseAgent<p
rotocol::IndexedDB::Metainfo> { | 45 class MODULES_EXPORT InspectorIndexedDBAgent final : public InspectorBaseAgent<p
rotocol::IndexedDB::Metainfo> { |
| 48 public: | 46 public: |
| 49 InspectorIndexedDBAgent(InspectedFrames*, v8_inspector::V8InspectorSession*)
; | 47 InspectorIndexedDBAgent(InspectedFrames*, v8_inspector::V8InspectorSession*)
; |
| 50 ~InspectorIndexedDBAgent() override; | 48 ~InspectorIndexedDBAgent() override; |
| 51 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 62 void clearObjectStore(const String& securityOrigin, const String& databaseNa
me, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) ov
erride; | 60 void clearObjectStore(const String& securityOrigin, const String& databaseNa
me, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) ov
erride; |
| 63 | 61 |
| 64 private: | 62 private: |
| 65 Member<InspectedFrames> m_inspectedFrames; | 63 Member<InspectedFrames> m_inspectedFrames; |
| 66 v8_inspector::V8InspectorSession* m_v8Session; | 64 v8_inspector::V8InspectorSession* m_v8Session; |
| 67 }; | 65 }; |
| 68 | 66 |
| 69 } // namespace blink | 67 } // namespace blink |
| 70 | 68 |
| 71 #endif // !defined(InspectorIndexedDBAgent_h) | 69 #endif // !defined(InspectorIndexedDBAgent_h) |
| OLD | NEW |