| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef InspectorWorkerAgent_h | 31 #ifndef InspectorWorkerAgent_h |
| 32 #define InspectorWorkerAgent_h | 32 #define InspectorWorkerAgent_h |
| 33 | 33 |
| 34 #include "core/InspectorFrontend.h" | 34 #include "core/InspectorFrontend.h" |
| 35 #include "core/inspector/InspectorBaseAgent.h" | 35 #include "core/inspector/InspectorBaseAgent.h" |
| 36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
| 37 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class InstrumentingAgents; | |
| 41 class JSONObject; | 40 class JSONObject; |
| 42 class KURL; | 41 class KURL; |
| 43 class WorkerInspectorProxy; | 42 class WorkerInspectorProxy; |
| 44 | 43 |
| 45 typedef String ErrorString; | 44 typedef String ErrorString; |
| 46 | 45 |
| 47 class InspectorWorkerAgent final : public InspectorBaseAgent<InspectorWorkerAgen
t>, public InspectorBackendDispatcher::WorkerCommandHandler { | 46 class InspectorWorkerAgent final : public InspectorBaseAgent<InspectorWorkerAgen
t>, public InspectorBackendDispatcher::WorkerCommandHandler { |
| 48 public: | 47 public: |
| 49 static PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> create(); | 48 static PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> create(); |
| 50 virtual ~InspectorWorkerAgent(); | 49 virtual ~InspectorWorkerAgent(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels; | 81 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels; |
| 83 WorkerChannels m_idToChannel; | 82 WorkerChannels m_idToChannel; |
| 84 typedef HashMap<WorkerInspectorProxy*, String> WorkerIds; | 83 typedef HashMap<WorkerInspectorProxy*, String> WorkerIds; |
| 85 WorkerIds m_workerIds; | 84 WorkerIds m_workerIds; |
| 86 String m_tracingSessionId; | 85 String m_tracingSessionId; |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace blink | 88 } // namespace blink |
| 90 | 89 |
| 91 #endif // !defined(InspectorWorkerAgent_h) | 90 #endif // !defined(InspectorWorkerAgent_h) |
| OLD | NEW |