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

Unified Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 1240373002: Revert of [DevTools] Remove edited scripts from debugger agent, move knowledge to frontend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: Source/core/inspector/InspectorDebuggerAgent.h
diff --git a/Source/core/inspector/InspectorDebuggerAgent.h b/Source/core/inspector/InspectorDebuggerAgent.h
index dfccc70188961fd16334fa1e2f1de4d5ea2752df..ad6991969e430ee01658a746d39e61fcef67ac26 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.h
+++ b/Source/core/inspector/InspectorDebuggerAgent.h
@@ -147,6 +147,7 @@
void didCallFunction();
void willEvaluateScript(LocalFrame*, const String& url, int lineNumber);
void didEvaluateScript();
+ bool getEditedScript(const String& url, String* content);
class CORE_EXPORT Listener : public WillBeGarbageCollectedMixin {
public:
@@ -203,6 +204,7 @@
void didContinue() final;
void reset();
+ void resetModifiedSources();
private:
bool checkEnabled(ErrorString*);
@@ -291,6 +293,7 @@
// This field must be destroyed before the listeners set above.
OwnPtrWillBeMember<V8AsyncCallTracker> m_v8AsyncCallTracker;
OwnPtrWillBeMember<PromiseTracker> m_promiseTracker;
+ HashMap<String, String> m_editedScripts;
using AsyncOperationIdToAsyncCallChain = WillBeHeapHashMap<int, RefPtrWillBeMember<AsyncCallChain>>;
AsyncOperationIdToAsyncCallChain m_asyncOperations;

Powered by Google App Engine
This is Rietveld 408576698