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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.cpp

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 , m_javaScriptPauseScheduled(false) 106 , m_javaScriptPauseScheduled(false)
107 , m_debuggerStepScheduled(false) 107 , m_debuggerStepScheduled(false)
108 , m_listener(0) 108 , m_listener(0)
109 , m_skipStepInCount(numberOfStepsBeforeStepOut) 109 , m_skipStepInCount(numberOfStepsBeforeStepOut)
110 , m_skipAllPauses(false) 110 , m_skipAllPauses(false)
111 { 111 {
112 } 112 }
113 113
114 InspectorDebuggerAgent::~InspectorDebuggerAgent() 114 InspectorDebuggerAgent::~InspectorDebuggerAgent()
115 { 115 {
116 #if !ENABLE(OILPAN)
116 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); 117 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent());
118 #endif
117 } 119 }
118 120
119 void InspectorDebuggerAgent::init() 121 void InspectorDebuggerAgent::init()
120 { 122 {
121 // FIXME: make breakReason optional so that there was no need to init it wit h "other". 123 // FIXME: make breakReason optional so that there was no need to init it wit h "other".
122 clearBreakDetails(); 124 clearBreakDetails();
123 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions); 125 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions);
124 } 126 }
125 127
126 void InspectorDebuggerAgent::enable() 128 void InspectorDebuggerAgent::enable()
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 { 1232 {
1231 m_scripts.clear(); 1233 m_scripts.clear();
1232 m_breakpointIdToDebugServerBreakpointIds.clear(); 1234 m_breakpointIdToDebugServerBreakpointIds.clear();
1233 m_asyncCallStackTracker.clear(); 1235 m_asyncCallStackTracker.clear();
1234 if (m_frontend) 1236 if (m_frontend)
1235 m_frontend->globalObjectCleared(); 1237 m_frontend->globalObjectCleared();
1236 } 1238 }
1237 1239
1238 } // namespace WebCore 1240 } // namespace WebCore
1239 1241
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorHeapProfilerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698