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

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

Issue 1164423007: Make inspector-protocol/debugger/debugger-step-into-dedicated-worker.html not timeout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/WorkerInspectorController.h
diff --git a/Source/core/inspector/WorkerInspectorController.h b/Source/core/inspector/WorkerInspectorController.h
index 5605b6f44e17e449976e8b10ae1dcc53f9ab6ec0..533aa37ee860f8b0b964f1639aa45baef64315c9 100644
--- a/Source/core/inspector/WorkerInspectorController.h
+++ b/Source/core/inspector/WorkerInspectorController.h
@@ -33,6 +33,7 @@
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/InspectorRuntimeAgent.h"
+#include "core/inspector/InspectorTaskRunner.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
@@ -47,7 +48,6 @@ class InspectorBackendDispatcher;
class InspectorFrontend;
class InspectorFrontendChannel;
class InspectorStateClient;
-class InspectorTaskRunner;
class InstrumentingAgents;
class WorkerDebuggerAgent;
class WorkerGlobalScope;
@@ -70,12 +70,13 @@ public:
void dispose();
void interruptAndDispatchInspectorCommands();
- void pauseOnStart();
+ void workerContextInitialized(bool pauseOnStart);
private:
friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope*);
// InspectorRuntimeAgent::Client implementation.
+ void pauseOnStart();
void resumeStartup() override;
bool isRunRequired() override;
@@ -93,6 +94,7 @@ private:
OwnPtrWillBeMember<AsyncCallTracker> m_asyncCallTracker;
RawPtrWillBeMember<WorkerRuntimeAgent> m_workerRuntimeAgent;
OwnPtr<InspectorTaskRunner> m_inspectorTaskRunner;
+ OwnPtr<InspectorTaskRunner::IgnoreInterruptsScope> m_beforeInitlizedScope;
bool m_paused;
};
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/inspector/WorkerInspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698