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

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

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/inspector/InstrumentingAgents.cpp ('k') | Source/WebCore/loader/EmptyClients.h » ('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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/InstrumentingAgents.cpp ('k') | Source/WebCore/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698