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

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: Add ScriptSourceCode::isNull() comment 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 { 313 {
314 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions) 314 if (consoleMessage->type() == AssertMessageType && scriptDebugServer().pause OnExceptionsState() != ScriptDebugServer::DontPauseOnExceptions)
315 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr); 315 breakProgram(InspectorFrontend::Debugger::Reason::Assert, nullptr);
316 } 316 }
317 317
318 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName) 318 String InspectorDebuggerAgent::preprocessEventListener(LocalFrame* frame, const String& source, const String& url, const String& functionName)
319 { 319 {
320 return scriptDebugServer().preprocessEventListener(frame, source, url, funct ionName); 320 return scriptDebugServer().preprocessEventListener(frame, source, url, funct ionName);
321 } 321 }
322 322
323 PassOwnPtr<ScriptSourceCode> InspectorDebuggerAgent::preprocess(LocalFrame* fram e, const ScriptSourceCode& sourceCode) 323 ScriptSourceCode InspectorDebuggerAgent::preprocess(LocalFrame* frame, const Scr iptSourceCode& sourceCode)
324 { 324 {
325 return scriptDebugServer().preprocess(frame, sourceCode); 325 return scriptDebugServer().preprocess(frame, sourceCode);
326 } 326 }
327 327
328 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex) 328 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex)
329 { 329 {
330 RefPtr<JSONObject> breakpointObject = JSONObject::create(); 330 RefPtr<JSONObject> breakpointObject = JSONObject::create();
331 breakpointObject->setString(DebuggerAgentState::url, url); 331 breakpointObject->setString(DebuggerAgentState::url, url);
332 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber); 332 breakpointObject->setNumber(DebuggerAgentState::lineNumber, lineNumber);
333 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber); 333 breakpointObject->setNumber(DebuggerAgentState::columnNumber, columnNumber);
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 visitor->trace(m_v8AsyncCallTracker); 1556 visitor->trace(m_v8AsyncCallTracker);
1557 visitor->trace(m_promiseTracker); 1557 visitor->trace(m_promiseTracker);
1558 visitor->trace(m_asyncOperations); 1558 visitor->trace(m_asyncOperations);
1559 visitor->trace(m_currentAsyncCallChain); 1559 visitor->trace(m_currentAsyncCallChain);
1560 visitor->trace(m_asyncCallTrackingListeners); 1560 visitor->trace(m_asyncCallTrackingListeners);
1561 #endif 1561 #endif
1562 InspectorBaseAgent::trace(visitor); 1562 InspectorBaseAgent::trace(visitor);
1563 } 1563 }
1564 1564
1565 } // namespace blink 1565 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698