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

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, 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 , m_pausedScriptState(nullptr) 105 , m_pausedScriptState(nullptr)
106 , m_javaScriptPauseScheduled(false) 106 , m_javaScriptPauseScheduled(false)
107 , m_listener(0) 107 , m_listener(0)
108 , m_skipStepInCount(numberOfStepsBeforeStepOut) 108 , m_skipStepInCount(numberOfStepsBeforeStepOut)
109 , m_skipAllPauses(false) 109 , m_skipAllPauses(false)
110 { 110 {
111 } 111 }
112 112
113 InspectorDebuggerAgent::~InspectorDebuggerAgent() 113 InspectorDebuggerAgent::~InspectorDebuggerAgent()
114 { 114 {
115 #if !ENABLE(OILPAN)
115 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); 116 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent());
117 #endif
116 } 118 }
117 119
118 void InspectorDebuggerAgent::init() 120 void InspectorDebuggerAgent::init()
119 { 121 {
120 // FIXME: make breakReason optional so that there was no need to init it wit h "other". 122 // FIXME: make breakReason optional so that there was no need to init it wit h "other".
121 clearBreakDetails(); 123 clearBreakDetails();
122 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions); 124 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ er::DontPauseOnExceptions);
123 } 125 }
124 126
125 void InspectorDebuggerAgent::enable() 127 void InspectorDebuggerAgent::enable()
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 { 1225 {
1224 m_scripts.clear(); 1226 m_scripts.clear();
1225 m_breakpointIdToDebugServerBreakpointIds.clear(); 1227 m_breakpointIdToDebugServerBreakpointIds.clear();
1226 m_asyncCallStackTracker.clear(); 1228 m_asyncCallStackTracker.clear();
1227 if (m_frontend) 1229 if (m_frontend)
1228 m_frontend->globalObjectCleared(); 1230 m_frontend->globalObjectCleared();
1229 } 1231 }
1230 1232
1231 } // namespace WebCore 1233 } // namespace WebCore
1232 1234
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698