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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc riptManager) 114 InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc riptManager)
115 : InspectorBaseAgent<InspectorDebuggerAgent>("Debugger") 115 : InspectorBaseAgent<InspectorDebuggerAgent>("Debugger")
116 , m_injectedScriptManager(injectedScriptManager) 116 , m_injectedScriptManager(injectedScriptManager)
117 , m_frontend(0) 117 , m_frontend(0)
118 , m_pausedScriptState(nullptr) 118 , m_pausedScriptState(nullptr)
119 , m_javaScriptPauseScheduled(false) 119 , m_javaScriptPauseScheduled(false)
120 , m_debuggerStepScheduled(false) 120 , m_debuggerStepScheduled(false)
121 , m_steppingFromFramework(false) 121 , m_steppingFromFramework(false)
122 , m_pausingOnNativeEvent(false) 122 , m_pausingOnNativeEvent(false)
123 , m_listener(0) 123 , m_listener(nullptr)
124 , m_skippedStepInCount(0) 124 , m_skippedStepInCount(0)
125 , m_skipAllPauses(false) 125 , m_skipAllPauses(false)
126 { 126 {
127 } 127 }
128 128
129 InspectorDebuggerAgent::~InspectorDebuggerAgent() 129 InspectorDebuggerAgent::~InspectorDebuggerAgent()
130 { 130 {
131 #if !ENABLE(OILPAN)
131 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); 132 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent());
133 #endif
132 } 134 }
133 135
134 void InspectorDebuggerAgent::init() 136 void InspectorDebuggerAgent::init()
135 { 137 {
136 // FIXME: make breakReason optional so that there was no need to init it wit h "other". 138 // FIXME: make breakReason optional so that there was no need to init it wit h "other".
137 clearBreakDetails(); 139 clearBreakDetails();
138 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions); 140 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions);
139 } 141 }
140 142
141 void InspectorDebuggerAgent::enable() 143 void InspectorDebuggerAgent::enable()
(...skipping 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 1427
1426 void InspectorDebuggerAgent::reset() 1428 void InspectorDebuggerAgent::reset()
1427 { 1429 {
1428 m_scripts.clear(); 1430 m_scripts.clear();
1429 m_breakpointIdToDebugServerBreakpointIds.clear(); 1431 m_breakpointIdToDebugServerBreakpointIds.clear();
1430 m_asyncCallStackTracker.clear(); 1432 m_asyncCallStackTracker.clear();
1431 if (m_frontend) 1433 if (m_frontend)
1432 m_frontend->globalObjectCleared(); 1434 m_frontend->globalObjectCleared();
1433 } 1435 }
1434 1436
1437 void InspectorDebuggerAgent::trace(Visitor* visitor)
1438 {
1439 visitor->trace(m_listener);
1440 InspectorBaseAgent::trace(visitor);
1441 }
1442
1435 } // namespace blink 1443 } // namespace blink
1436 1444
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