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

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 1913093003: [DevTools] Remove reference to DebuggerAgent from ConsoleAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 m_session->append(InspectorMemoryAgent::create()); 408 m_session->append(InspectorMemoryAgent::create());
409 409
410 m_session->append(InspectorApplicationCacheAgent::create(m_inspectedFrames.g et())); 410 m_session->append(InspectorApplicationCacheAgent::create(m_inspectedFrames.g et()));
411 411
412 m_session->append(InspectorIndexedDBAgent::create(m_inspectedFrames.get())); 412 m_session->append(InspectorIndexedDBAgent::create(m_inspectedFrames.get()));
413 413
414 InspectorDebuggerAgent* debuggerAgent = PageDebuggerAgent::create(m_v8Sessio n->debuggerAgent(), m_inspectedFrames.get()); 414 InspectorDebuggerAgent* debuggerAgent = PageDebuggerAgent::create(m_v8Sessio n->debuggerAgent(), m_inspectedFrames.get());
415 m_session->append(debuggerAgent); 415 m_session->append(debuggerAgent);
416 416
417 PageConsoleAgent* pageConsoleAgent = PageConsoleAgent::create(runtimeAgent, m_v8Session->debuggerAgent(), m_domAgent, m_inspectedFrames.get()); 417 PageConsoleAgent* pageConsoleAgent = PageConsoleAgent::create(runtimeAgent, m_domAgent, m_inspectedFrames.get());
418 m_session->append(pageConsoleAgent); 418 m_session->append(pageConsoleAgent);
419 419
420 InspectorWorkerAgent* workerAgent = InspectorWorkerAgent::create(m_inspected Frames.get(), pageConsoleAgent); 420 InspectorWorkerAgent* workerAgent = InspectorWorkerAgent::create(m_inspected Frames.get(), pageConsoleAgent);
421 m_session->append(workerAgent); 421 m_session->append(workerAgent);
422 422
423 InspectorTracingAgent* tracingAgent = InspectorTracingAgent::create(this, wo rkerAgent, m_inspectedFrames.get()); 423 InspectorTracingAgent* tracingAgent = InspectorTracingAgent::create(this, wo rkerAgent, m_inspectedFrames.get());
424 m_tracingAgent = tracingAgent; 424 m_tracingAgent = tracingAgent;
425 m_session->append(tracingAgent); 425 m_session->append(tracingAgent);
426 426
427 m_session->append(InspectorDOMDebuggerAgent::create(isolate, m_domAgent, run timeAgent, debuggerAgent->v8Agent())); 427 m_session->append(InspectorDOMDebuggerAgent::create(isolate, m_domAgent, run timeAgent, debuggerAgent->v8Agent()));
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 if (!protocol::Dispatcher::getCommandName(message, &commandName)) 694 if (!protocol::Dispatcher::getCommandName(message, &commandName))
695 return false; 695 return false;
696 return commandName == "Debugger.pause" 696 return commandName == "Debugger.pause"
697 || commandName == "Debugger.setBreakpoint" 697 || commandName == "Debugger.setBreakpoint"
698 || commandName == "Debugger.setBreakpointByUrl" 698 || commandName == "Debugger.setBreakpointByUrl"
699 || commandName == "Debugger.removeBreakpoint" 699 || commandName == "Debugger.removeBreakpoint"
700 || commandName == "Debugger.setBreakpointsActive"; 700 || commandName == "Debugger.setBreakpointsActive";
701 } 701 }
702 702
703 } // namespace blink 703 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698