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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h

Issue 1738073002: DevTools: introduce protocol::Value, baseline for hierarchical data in remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void removeAsyncOperationBreakpoint(ErrorString*, int operationId) override; 82 void removeAsyncOperationBreakpoint(ErrorString*, int operationId) override;
83 void setBlackboxedRanges(ErrorString*, const String& scriptId, PassOwnPtr<pr otocol::Array<protocol::Debugger::ScriptPosition>> positions) override; 83 void setBlackboxedRanges(ErrorString*, const String& scriptId, PassOwnPtr<pr otocol::Array<protocol::Debugger::ScriptPosition>> positions) override;
84 84
85 // Called by InspectorInstrumentation. 85 // Called by InspectorInstrumentation.
86 bool isPaused(); 86 bool isPaused();
87 void scriptExecutionBlockedByCSP(const String& directiveText); 87 void scriptExecutionBlockedByCSP(const String& directiveText);
88 void willExecuteScript(int scriptId); 88 void willExecuteScript(int scriptId);
89 void didExecuteScript(); 89 void didExecuteScript();
90 90
91 // InspectorBaseAgent overrides. 91 // InspectorBaseAgent overrides.
92 void setState(PassRefPtr<JSONObject>) override; 92 void setState(PassRefPtr<protocol::DictionaryValue>) override;
93 void init() override; 93 void init() override;
94 void setFrontend(protocol::Frontend*) override; 94 void setFrontend(protocol::Frontend*) override;
95 void clearFrontend() override; 95 void clearFrontend() override;
96 void restore() override; 96 void restore() override;
97 97
98 V8DebuggerAgent* v8Agent() const { return m_v8DebuggerAgent.get(); } 98 V8DebuggerAgent* v8Agent() const { return m_v8DebuggerAgent.get(); }
99 99
100 virtual void muteConsole() = 0; 100 virtual void muteConsole() = 0;
101 virtual void unmuteConsole() = 0; 101 virtual void unmuteConsole() = 0;
102 102
103 V8Debugger* debugger() { return m_debugger; } 103 V8Debugger* debugger() { return m_debugger; }
104 protected: 104 protected:
105 InspectorDebuggerAgent(V8RuntimeAgent*, V8Debugger*, int contextGroupId); 105 InspectorDebuggerAgent(V8RuntimeAgent*, V8Debugger*, int contextGroupId);
106 106
107 OwnPtr<V8DebuggerAgent> m_v8DebuggerAgent; 107 OwnPtr<V8DebuggerAgent> m_v8DebuggerAgent;
108 OwnPtrWillBeMember<AsyncCallTracker> m_asyncCallTracker; 108 OwnPtrWillBeMember<AsyncCallTracker> m_asyncCallTracker;
109 109
110 private: 110 private:
111 void setTrackingAsyncCalls(bool); 111 void setTrackingAsyncCalls(bool);
112 V8Debugger* m_debugger; 112 V8Debugger* m_debugger;
113 }; 113 };
114 114
115 } // namespace blink 115 } // namespace blink
116 116
117 117
118 #endif // !defined(InspectorDebuggerAgent_h) 118 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698