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

Side by Side Diff: Source/WebCore/inspector/InstrumentingAgents.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed 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
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 #endif 109 #endif
110 110
111 #if ENABLE(FILE_SYSTEM) 111 #if ENABLE(FILE_SYSTEM)
112 InspectorFileSystemAgent* inspectorFileSystemAgent() const { return m_inspec torFileSystemAgent; } 112 InspectorFileSystemAgent* inspectorFileSystemAgent() const { return m_inspec torFileSystemAgent; }
113 void setInspectorFileSystemAgent(InspectorFileSystemAgent* agent) { m_inspec torFileSystemAgent = agent; } 113 void setInspectorFileSystemAgent(InspectorFileSystemAgent* agent) { m_inspec torFileSystemAgent = agent; }
114 #endif 114 #endif
115 115
116 InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { ret urn m_inspectorApplicationCacheAgent; } 116 InspectorApplicationCacheAgent* inspectorApplicationCacheAgent() const { ret urn m_inspectorApplicationCacheAgent; }
117 void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent ) { m_inspectorApplicationCacheAgent = agent; } 117 void setInspectorApplicationCacheAgent(InspectorApplicationCacheAgent* agent ) { m_inspectorApplicationCacheAgent = agent; }
118 118
119 #if ENABLE(JAVASCRIPT_DEBUGGER)
120 InspectorDebuggerAgent* inspectorDebuggerAgent() const { return m_inspectorD ebuggerAgent; } 119 InspectorDebuggerAgent* inspectorDebuggerAgent() const { return m_inspectorD ebuggerAgent; }
121 void setInspectorDebuggerAgent(InspectorDebuggerAgent* agent) { m_inspectorD ebuggerAgent = agent; } 120 void setInspectorDebuggerAgent(InspectorDebuggerAgent* agent) { m_inspectorD ebuggerAgent = agent; }
122 121
123 PageDebuggerAgent* pageDebuggerAgent() const { return m_pageDebuggerAgent; } 122 PageDebuggerAgent* pageDebuggerAgent() const { return m_pageDebuggerAgent; }
124 void setPageDebuggerAgent(PageDebuggerAgent* agent) { m_pageDebuggerAgent = agent; } 123 void setPageDebuggerAgent(PageDebuggerAgent* agent) { m_pageDebuggerAgent = agent; }
125 124
126 InspectorDOMDebuggerAgent* inspectorDOMDebuggerAgent() const { return m_insp ectorDOMDebuggerAgent; } 125 InspectorDOMDebuggerAgent* inspectorDOMDebuggerAgent() const { return m_insp ectorDOMDebuggerAgent; }
127 void setInspectorDOMDebuggerAgent(InspectorDOMDebuggerAgent* agent) { m_insp ectorDOMDebuggerAgent = agent; } 126 void setInspectorDOMDebuggerAgent(InspectorDOMDebuggerAgent* agent) { m_insp ectorDOMDebuggerAgent = agent; }
128 127
129 InspectorProfilerAgent* inspectorProfilerAgent() const { return m_inspectorP rofilerAgent; } 128 InspectorProfilerAgent* inspectorProfilerAgent() const { return m_inspectorP rofilerAgent; }
130 void setInspectorProfilerAgent(InspectorProfilerAgent* agent) { m_inspectorP rofilerAgent = agent; } 129 void setInspectorProfilerAgent(InspectorProfilerAgent* agent) { m_inspectorP rofilerAgent = agent; }
131 130
132 InspectorHeapProfilerAgent* inspectorHeapProfilerAgent() const { return m_in spectorHeapProfilerAgent; } 131 InspectorHeapProfilerAgent* inspectorHeapProfilerAgent() const { return m_in spectorHeapProfilerAgent; }
133 void setInspectorHeapProfilerAgent(InspectorHeapProfilerAgent* agent) { m_in spectorHeapProfilerAgent = agent; } 132 void setInspectorHeapProfilerAgent(InspectorHeapProfilerAgent* agent) { m_in spectorHeapProfilerAgent = agent; }
134 #endif
135 133
136 #if ENABLE(WORKERS) 134 #if ENABLE(WORKERS)
137 InspectorWorkerAgent* inspectorWorkerAgent() const { return m_inspectorWorke rAgent; } 135 InspectorWorkerAgent* inspectorWorkerAgent() const { return m_inspectorWorke rAgent; }
138 void setInspectorWorkerAgent(InspectorWorkerAgent* agent) { m_inspectorWorke rAgent = agent; } 136 void setInspectorWorkerAgent(InspectorWorkerAgent* agent) { m_inspectorWorke rAgent = agent; }
139 #endif 137 #endif
140 138
141 InspectorCanvasAgent* inspectorCanvasAgent() const { return m_inspectorCanva sAgent; } 139 InspectorCanvasAgent* inspectorCanvasAgent() const { return m_inspectorCanva sAgent; }
142 void setInspectorCanvasAgent(InspectorCanvasAgent* agent) { m_inspectorCanva sAgent = agent; } 140 void setInspectorCanvasAgent(InspectorCanvasAgent* agent) { m_inspectorCanva sAgent = agent; }
143 141
144 #if USE(ACCELERATED_COMPOSITING) 142 #if USE(ACCELERATED_COMPOSITING)
(...skipping 17 matching lines...) Expand all
162 WorkerRuntimeAgent* m_workerRuntimeAgent; 160 WorkerRuntimeAgent* m_workerRuntimeAgent;
163 InspectorTimelineAgent* m_inspectorTimelineAgent; 161 InspectorTimelineAgent* m_inspectorTimelineAgent;
164 InspectorDOMStorageAgent* m_inspectorDOMStorageAgent; 162 InspectorDOMStorageAgent* m_inspectorDOMStorageAgent;
165 #if ENABLE(SQL_DATABASE) 163 #if ENABLE(SQL_DATABASE)
166 InspectorDatabaseAgent* m_inspectorDatabaseAgent; 164 InspectorDatabaseAgent* m_inspectorDatabaseAgent;
167 #endif 165 #endif
168 #if ENABLE(FILE_SYSTEM) 166 #if ENABLE(FILE_SYSTEM)
169 InspectorFileSystemAgent* m_inspectorFileSystemAgent; 167 InspectorFileSystemAgent* m_inspectorFileSystemAgent;
170 #endif 168 #endif
171 InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent; 169 InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent;
172 #if ENABLE(JAVASCRIPT_DEBUGGER)
173 InspectorDebuggerAgent* m_inspectorDebuggerAgent; 170 InspectorDebuggerAgent* m_inspectorDebuggerAgent;
174 PageDebuggerAgent* m_pageDebuggerAgent; 171 PageDebuggerAgent* m_pageDebuggerAgent;
175 InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent; 172 InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent;
176 InspectorProfilerAgent* m_inspectorProfilerAgent; 173 InspectorProfilerAgent* m_inspectorProfilerAgent;
177 InspectorHeapProfilerAgent* m_inspectorHeapProfilerAgent; 174 InspectorHeapProfilerAgent* m_inspectorHeapProfilerAgent;
178 #endif
179 #if ENABLE(WORKERS) 175 #if ENABLE(WORKERS)
180 InspectorWorkerAgent* m_inspectorWorkerAgent; 176 InspectorWorkerAgent* m_inspectorWorkerAgent;
181 #endif 177 #endif
182 InspectorCanvasAgent* m_inspectorCanvasAgent; 178 InspectorCanvasAgent* m_inspectorCanvasAgent;
183 }; 179 };
184 180
185 InstrumentingAgents* instrumentationForPage(Page*); 181 InstrumentingAgents* instrumentationForPage(Page*);
186 #if ENABLE(WORKERS) 182 #if ENABLE(WORKERS)
187 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*); 183 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*);
188 #endif 184 #endif
189 185
190 } 186 }
191 187
192 #endif // !defined(InstrumentingAgents_h) 188 #endif // !defined(InstrumentingAgents_h)
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/InspectorWorkerResource.h ('k') | Source/WebCore/inspector/InstrumentingAgents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698