| OLD | NEW |
| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 m_runtimeAgent->setScriptDebugServer(&debuggerAgent->scriptDebugServer()); | 108 m_runtimeAgent->setScriptDebugServer(&debuggerAgent->scriptDebugServer()); |
| 109 m_agents.append(debuggerAgent.release()); | 109 m_agents.append(debuggerAgent.release()); |
| 110 | 110 |
| 111 m_agents.append(InspectorProfilerAgent::create(m_instrumentingAgents.get(),
consoleAgent.get(), workerContext, m_state.get(), m_injectedScriptManager.get())
); | 111 m_agents.append(InspectorProfilerAgent::create(m_instrumentingAgents.get(),
consoleAgent.get(), workerContext, m_state.get(), m_injectedScriptManager.get())
); |
| 112 m_agents.append(InspectorHeapProfilerAgent::create(m_instrumentingAgents.get
(), m_state.get(), m_injectedScriptManager.get())); | 112 m_agents.append(InspectorHeapProfilerAgent::create(m_instrumentingAgents.get
(), m_state.get(), m_injectedScriptManager.get())); |
| 113 m_agents.append(InspectorTimelineAgent::create(m_instrumentingAgents.get(),
0, 0, m_state.get(), InspectorTimelineAgent::WorkerInspector, 0)); | 113 m_agents.append(InspectorTimelineAgent::create(m_instrumentingAgents.get(),
0, 0, m_state.get(), InspectorTimelineAgent::WorkerInspector, 0)); |
| 114 m_agents.append(consoleAgent.release()); | 114 m_agents.append(consoleAgent.release()); |
| 115 | 115 |
| 116 m_injectedScriptManager->injectedScriptHost()->init(0 | 116 m_injectedScriptManager->injectedScriptHost()->init(0 |
| 117 , 0 | 117 , 0 |
| 118 #if ENABLE(SQL_DATABASE) | |
| 119 , 0 | 118 , 0 |
| 120 #endif | |
| 121 , 0 | 119 , 0 |
| 122 , 0 | 120 , 0 |
| 123 , debuggerAgentPtr | 121 , debuggerAgentPtr |
| 124 ); | 122 ); |
| 125 } | 123 } |
| 126 | 124 |
| 127 WorkerInspectorController::~WorkerInspectorController() | 125 WorkerInspectorController::~WorkerInspectorController() |
| 128 { | 126 { |
| 129 m_instrumentingAgents->reset(); | 127 m_instrumentingAgents->reset(); |
| 130 disconnectFrontend(); | 128 disconnectFrontend(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 170 |
| 173 void WorkerInspectorController::resume() | 171 void WorkerInspectorController::resume() |
| 174 { | 172 { |
| 175 ErrorString unused; | 173 ErrorString unused; |
| 176 m_runtimeAgent->run(&unused); | 174 m_runtimeAgent->run(&unused); |
| 177 } | 175 } |
| 178 | 176 |
| 179 } | 177 } |
| 180 | 178 |
| 181 #endif | 179 #endif |
| OLD | NEW |