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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h

Issue 2154103002: [DevTools] Remove toProtocolValue from v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
index c66535c39c0ceea0792b2c411f37eedb43b85520..994ddeebdf8b2af11a1a66221a21c8b555eb19f6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
@@ -39,16 +39,16 @@
namespace blink {
class InspectedFrames;
-
+class V8InspectorSession;
class MODULES_EXPORT InspectorIndexedDBAgent final : public InspectorBaseAgent<protocol::IndexedDB::Metainfo> {
public:
- static InspectorIndexedDBAgent* create(InspectedFrames*);
-
+ InspectorIndexedDBAgent(InspectedFrames*, V8InspectorSession*);
~InspectorIndexedDBAgent() override;
DECLARE_VIRTUAL_TRACE();
void restore() override;
+ void didCommitLoadForLocalFrame(LocalFrame*) override;
// Called from the front-end.
void enable(ErrorString*) override;
@@ -59,9 +59,8 @@ public:
void clearObjectStore(ErrorString*, const String& securityOrigin, const String& databaseName, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) override;
private:
- explicit InspectorIndexedDBAgent(InspectedFrames*);
-
Member<InspectedFrames> m_inspectedFrames;
+ V8InspectorSession* m_v8Session;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698