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

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

Issue 1132793002: DevTools: do not enable debugger for pages where script execution is prohibited (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/PageDebuggerAgent.h
diff --git a/Source/core/inspector/PageDebuggerAgent.h b/Source/core/inspector/PageDebuggerAgent.h
index 97db6f95e116958870901aab01f02059f4661d8d..9c41a26d02a4ed9bd0a6f2f4cf1d06b3a6856cfe 100644
--- a/Source/core/inspector/PageDebuggerAgent.h
+++ b/Source/core/inspector/PageDebuggerAgent.h
@@ -57,11 +57,11 @@ public:
void didCommitLoadForLocalFrame(LocalFrame*) override;
protected:
- void enable() override;
+ bool enable() override;
void disable() override;
private:
- void startListeningScriptDebugServer() override;
+ bool startListeningScriptDebugServer() override;
void stopListeningScriptDebugServer() override;
PageScriptDebugServer& scriptDebugServer() override;
void muteConsole() override;

Powered by Google App Engine
This is Rietveld 408576698