| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "core/inspector/InspectorState.h" | 43 #include "core/inspector/InspectorState.h" |
| 44 #include "core/inspector/InspectorStateClient.h" | 44 #include "core/inspector/InspectorStateClient.h" |
| 45 #include "core/inspector/InspectorTimelineAgent.h" | 45 #include "core/inspector/InspectorTimelineAgent.h" |
| 46 #include "core/inspector/InstrumentingAgents.h" | 46 #include "core/inspector/InstrumentingAgents.h" |
| 47 #include "core/inspector/WorkerConsoleAgent.h" | 47 #include "core/inspector/WorkerConsoleAgent.h" |
| 48 #include "core/inspector/WorkerDebuggerAgent.h" | 48 #include "core/inspector/WorkerDebuggerAgent.h" |
| 49 #include "core/inspector/WorkerRuntimeAgent.h" | 49 #include "core/inspector/WorkerRuntimeAgent.h" |
| 50 #include "core/workers/WorkerGlobalScope.h" | 50 #include "core/workers/WorkerGlobalScope.h" |
| 51 #include "core/workers/WorkerReportingProxy.h" | 51 #include "core/workers/WorkerReportingProxy.h" |
| 52 #include "core/workers/WorkerThread.h" | 52 #include "core/workers/WorkerThread.h" |
| 53 #include <wtf/PassOwnPtr.h> | 53 #include "wtf/PassOwnPtr.h" |
| 54 | 54 |
| 55 namespace WebCore { | 55 namespace WebCore { |
| 56 | 56 |
| 57 namespace { | 57 namespace { |
| 58 | 58 |
| 59 class PageInspectorProxy : public InspectorFrontendChannel { | 59 class PageInspectorProxy : public InspectorFrontendChannel { |
| 60 WTF_MAKE_FAST_ALLOCATED; | 60 WTF_MAKE_FAST_ALLOCATED; |
| 61 public: | 61 public: |
| 62 explicit PageInspectorProxy(WorkerGlobalScope* workerGlobalScope) : m_worker
GlobalScope(workerGlobalScope) { } | 62 explicit PageInspectorProxy(WorkerGlobalScope* workerGlobalScope) : m_worker
GlobalScope(workerGlobalScope) { } |
| 63 virtual ~PageInspectorProxy() { } | 63 virtual ~PageInspectorProxy() { } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 void WorkerInspectorController::resume() | 157 void WorkerInspectorController::resume() |
| 158 { | 158 { |
| 159 if (WorkerRuntimeAgent* runtimeAgent = m_instrumentingAgents->workerRuntimeA
gent()) { | 159 if (WorkerRuntimeAgent* runtimeAgent = m_instrumentingAgents->workerRuntimeA
gent()) { |
| 160 ErrorString unused; | 160 ErrorString unused; |
| 161 runtimeAgent->run(&unused); | 161 runtimeAgent->run(&unused); |
| 162 } | 162 } |
| 163 } | 163 } |
| 164 | 164 |
| 165 } | 165 } |
| OLD | NEW |