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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/inspector/InspectorBaseAgent.h" | 35 #include "core/inspector/InspectorBaseAgent.h" |
36 #include "core/inspector/protocol/Target.h" | 36 #include "core/inspector/protocol/Target.h" |
37 #include "core/workers/WorkerInspectorProxy.h" | 37 #include "core/workers/WorkerInspectorProxy.h" |
38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
39 #include "wtf/HashMap.h" | 39 #include "wtf/HashMap.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 class InspectedFrames; | 42 class InspectedFrames; |
43 class KURL; | |
44 class WorkerInspectorProxy; | 43 class WorkerInspectorProxy; |
45 | 44 |
46 class CORE_EXPORT InspectorWorkerAgent final | 45 class CORE_EXPORT InspectorWorkerAgent final |
47 : public InspectorBaseAgent<protocol::Target::Metainfo>, | 46 : public InspectorBaseAgent<protocol::Target::Metainfo>, |
48 public WorkerInspectorProxy::PageInspector { | 47 public WorkerInspectorProxy::PageInspector { |
49 WTF_MAKE_NONCOPYABLE(InspectorWorkerAgent); | 48 WTF_MAKE_NONCOPYABLE(InspectorWorkerAgent); |
50 | 49 |
51 public: | 50 public: |
52 explicit InspectorWorkerAgent(InspectedFrames*); | 51 explicit InspectorWorkerAgent(InspectedFrames*); |
53 ~InspectorWorkerAgent() override; | 52 ~InspectorWorkerAgent() override; |
(...skipping 29 matching lines...) Expand all Loading... |
83 const String& message) override; | 82 const String& message) override; |
84 | 83 |
85 Member<InspectedFrames> m_inspectedFrames; | 84 Member<InspectedFrames> m_inspectedFrames; |
86 HeapHashMap<String, Member<WorkerInspectorProxy>> m_connectedProxies; | 85 HeapHashMap<String, Member<WorkerInspectorProxy>> m_connectedProxies; |
87 String m_tracingSessionId; | 86 String m_tracingSessionId; |
88 }; | 87 }; |
89 | 88 |
90 } // namespace blink | 89 } // namespace blink |
91 | 90 |
92 #endif // !defined(InspectorWorkerAgent_h) | 91 #endif // !defined(InspectorWorkerAgent_h) |
OLD | NEW |