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

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

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nullptr tidying Created 5 years, 11 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 { 310 {
311 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) 311 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions)
312 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); 312 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr);
313 } 313 }
314 314
315 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName) 315 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName)
316 { 316 {
317 return scriptDebugServer().preprocessEventListener(frame, source, url, funct ionName); 317 return scriptDebugServer().preprocessEventListener(frame, source, url, funct ionName);
318 } 318 }
319 319
320 PassOwnPtr<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* fram e, const ScriptSourceCode& sourceCode) 320 Nullable<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
321 { 321 {
322 return scriptDebugServer().preprocess(frame, sourceCode); 322 return scriptDebugServer().preprocess(frame, sourceCode);
323 } 323 }
324 324
325 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex) 325 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex)
326 { 326 {
327 RefPtr<JSONObject> breakpointObject = JSONObject::create(); 327 RefPtr<JSONObject> breakpointObject = JSONObject::create();
328 breakpointObject->setString(DebuggerAgentState::url, url); 328 breakpointObject->setString(DebuggerAgentState::url, url);
329 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); 329 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber);
330 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); 330 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber);
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 visitor->trace(m_v8AsyncCallTracker); 1558 visitor->trace(m_v8AsyncCallTracker);
1559 visitor->trace(m_promiseTracker); 1559 visitor->trace(m_promiseTracker);
1560 visitor->trace(m_asyncOperationsForStepInto); 1560 visitor->trace(m_asyncOperationsForStepInto);
1561 visitor->trace(m_currentAsyncCallChain); 1561 visitor->trace(m_currentAsyncCallChain);
1562 visitor->trace(m_asyncCallTrackingListeners); 1562 visitor->trace(m_asyncCallTrackingListeners);
1563 #endif 1563 #endif
1564 InspectorBaseAgent::trace(visitor); 1564 InspectorBaseAgent::trace(visitor);
1565 } 1565 }
1566 1566
1567 } // namespace blink 1567 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698