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

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

Issue 464293002: [DevTools] ConsoleMessage storage moved from ConsoleAgent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@remove-can-generate
Patch Set: Created 6 years, 3 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 | « Source/core/inspector/WorkerConsoleAgent.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 { 99 {
100 m_agents.append(WorkerRuntimeAgent::create(m_injectedScriptManager.get(), m_ debugServer.get(), workerGlobalScope)); 100 m_agents.append(WorkerRuntimeAgent::create(m_injectedScriptManager.get(), m_ debugServer.get(), workerGlobalScope));
101 101
102 OwnPtrWillBeRawPtr<InspectorTimelineAgent> timelineAgent = InspectorTimeline Agent::create(0, 0, 0, InspectorTimelineAgent::WorkerInspector, 0); 102 OwnPtrWillBeRawPtr<InspectorTimelineAgent> timelineAgent = InspectorTimeline Agent::create(0, 0, 0, InspectorTimelineAgent::WorkerInspector, 0);
103 OwnPtrWillBeRawPtr<WorkerDebuggerAgent> workerDebuggerAgent = WorkerDebugger Agent::create(m_debugServer.get(), workerGlobalScope, m_injectedScriptManager.ge t()); 103 OwnPtrWillBeRawPtr<WorkerDebuggerAgent> workerDebuggerAgent = WorkerDebugger Agent::create(m_debugServer.get(), workerGlobalScope, m_injectedScriptManager.ge t());
104 m_workerDebuggerAgent = workerDebuggerAgent.get(); 104 m_workerDebuggerAgent = workerDebuggerAgent.get();
105 m_agents.append(workerDebuggerAgent.release()); 105 m_agents.append(workerDebuggerAgent.release());
106 106
107 m_agents.append(InspectorProfilerAgent::create(m_injectedScriptManager.get() , 0)); 107 m_agents.append(InspectorProfilerAgent::create(m_injectedScriptManager.get() , 0));
108 m_agents.append(InspectorHeapProfilerAgent::create(m_injectedScriptManager.g et())); 108 m_agents.append(InspectorHeapProfilerAgent::create(m_injectedScriptManager.g et()));
109 m_agents.append(WorkerConsoleAgent::create(timelineAgent.get(), m_injectedSc riptManager.get())); 109 m_agents.append(WorkerConsoleAgent::create(timelineAgent.get(), m_injectedSc riptManager.get(), workerGlobalScope));
110 m_agents.append(timelineAgent.release()); 110 m_agents.append(timelineAgent.release());
111 111
112 m_injectedScriptManager->injectedScriptHost()->init(m_instrumentingAgents.ge t(), m_debugServer.get()); 112 m_injectedScriptManager->injectedScriptHost()->init(m_instrumentingAgents.ge t(), m_debugServer.get());
113 } 113 }
114 114
115 WorkerInspectorController::~WorkerInspectorController() 115 WorkerInspectorController::~WorkerInspectorController()
116 { 116 {
117 } 117 }
118 118
119 void WorkerInspectorController::connectFrontend() 119 void WorkerInspectorController::connectFrontend()
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 { 181 {
182 visitor->trace(m_workerGlobalScope); 182 visitor->trace(m_workerGlobalScope);
183 visitor->trace(m_state); 183 visitor->trace(m_state);
184 visitor->trace(m_instrumentingAgents); 184 visitor->trace(m_instrumentingAgents);
185 visitor->trace(m_injectedScriptManager); 185 visitor->trace(m_injectedScriptManager);
186 visitor->trace(m_agents); 186 visitor->trace(m_agents);
187 visitor->trace(m_workerDebuggerAgent); 187 visitor->trace(m_workerDebuggerAgent);
188 } 188 }
189 189
190 } 190 }
OLDNEW
« no previous file with comments | « Source/core/inspector/WorkerConsoleAgent.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698