| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WorkerInspectorProxy_h | 5 #ifndef WorkerInspectorProxy_h |
| 6 #define WorkerInspectorProxy_h | 6 #define WorkerInspectorProxy_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/inspector/ConsoleMessage.h" | 9 #include "core/inspector/ConsoleMessage.h" |
| 10 #include "core/workers/WorkerThread.h" | 10 #include "core/workers/WorkerThread.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class Document; | 16 class Document; |
| 17 class KURL; | 17 class KURL; |
| 18 class WorkerGlobalScopeProxy; | |
| 19 | 18 |
| 20 // A proxy for talking to the worker inspector on the worker thread. | 19 // A proxy for talking to the worker inspector on the worker thread. |
| 21 // All of these methods should be called on the main thread. | 20 // All of these methods should be called on the main thread. |
| 22 class CORE_EXPORT WorkerInspectorProxy final | 21 class CORE_EXPORT WorkerInspectorProxy final |
| 23 : public GarbageCollectedFinalized<WorkerInspectorProxy> { | 22 : public GarbageCollectedFinalized<WorkerInspectorProxy> { |
| 24 public: | 23 public: |
| 25 static WorkerInspectorProxy* create(); | 24 static WorkerInspectorProxy* create(); |
| 26 | 25 |
| 27 ~WorkerInspectorProxy(); | 26 ~WorkerInspectorProxy(); |
| 28 DECLARE_TRACE(); | 27 DECLARE_TRACE(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 WorkerThread* m_workerThread; | 60 WorkerThread* m_workerThread; |
| 62 Member<Document> m_document; | 61 Member<Document> m_document; |
| 63 PageInspector* m_pageInspector; | 62 PageInspector* m_pageInspector; |
| 64 String m_url; | 63 String m_url; |
| 65 String m_inspectorId; | 64 String m_inspectorId; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace blink | 67 } // namespace blink |
| 69 | 68 |
| 70 #endif // WorkerInspectorProxy_h | 69 #endif // WorkerInspectorProxy_h |
| OLD | NEW |