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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "core/inspector/InspectorInstrumentation.h" | 32 #include "core/inspector/InspectorInstrumentation.h" |
33 | 33 |
34 #include "core/inspector/InspectorAgent.h" | 34 #include "core/inspector/InspectorAgent.h" |
35 #include "core/inspector/InspectorCSSAgent.h" | 35 #include "core/inspector/InspectorCSSAgent.h" |
36 #include "core/inspector/InspectorConsoleAgent.h" | 36 #include "core/inspector/InspectorConsoleAgent.h" |
37 #include "core/inspector/InspectorController.h" | 37 #include "core/inspector/InspectorController.h" |
38 #include "core/inspector/InspectorDebuggerAgent.h" | 38 #include "core/inspector/InspectorDebuggerAgent.h" |
39 #include "core/inspector/InspectorPageAgent.h" | |
40 #include "core/inspector/InspectorProfilerAgent.h" | 39 #include "core/inspector/InspectorProfilerAgent.h" |
41 #include "core/inspector/InspectorResourceAgent.h" | 40 #include "core/inspector/InspectorResourceAgent.h" |
42 #include "core/inspector/InspectorTimelineAgent.h" | 41 #include "core/inspector/InspectorTimelineAgent.h" |
43 #include "core/inspector/InspectorWorkerAgent.h" | |
44 #include "core/inspector/InstrumentingAgents.h" | 42 #include "core/inspector/InstrumentingAgents.h" |
45 #include "core/inspector/WorkerInspectorController.h" | 43 #include "core/inspector/WorkerInspectorController.h" |
46 #include "core/loader/cache/CachedResourceInitiatorInfo.h" | 44 #include "core/loader/cache/CachedResourceInitiatorInfo.h" |
47 #include "core/workers/WorkerGlobalScope.h" | 45 #include "core/workers/WorkerGlobalScope.h" |
48 | 46 |
49 namespace WebCore { | 47 namespace WebCore { |
50 | 48 |
51 namespace { | 49 namespace { |
52 static HashSet<InstrumentingAgents*>* instrumentingAgentsSet = 0; | 50 static HashSet<InstrumentingAgents*>* instrumentingAgentsSet = 0; |
53 } | 51 } |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 252 |
255 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* work
erGlobalScope) | 253 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* work
erGlobalScope) |
256 { | 254 { |
257 if (WorkerInspectorController* controller = workerGlobalScope->workerInspect
orController()) | 255 if (WorkerInspectorController* controller = workerGlobalScope->workerInspect
orController()) |
258 return controller->m_instrumentingAgents.get(); | 256 return controller->m_instrumentingAgents.get(); |
259 return 0; | 257 return 0; |
260 } | 258 } |
261 | 259 |
262 } // namespace WebCore | 260 } // namespace WebCore |
263 | 261 |
OLD | NEW |