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 28 matching lines...) Expand all Loading... |
39 class InspectorFrontend; | 39 class InspectorFrontend; |
40 class InstrumentingAgents; | 40 class InstrumentingAgents; |
41 class JSONObject; | 41 class JSONObject; |
42 class KURL; | 42 class KURL; |
43 class WorkerGlobalScopeProxy; | 43 class WorkerGlobalScopeProxy; |
44 | 44 |
45 typedef String ErrorString; | 45 typedef String ErrorString; |
46 | 46 |
47 class InspectorWorkerAgent FINAL : public InspectorBaseAgent<InspectorWorkerAgen
t>, public InspectorBackendDispatcher::WorkerCommandHandler { | 47 class InspectorWorkerAgent FINAL : public InspectorBaseAgent<InspectorWorkerAgen
t>, public InspectorBackendDispatcher::WorkerCommandHandler { |
48 public: | 48 public: |
49 static PassOwnPtr<InspectorWorkerAgent> create(); | 49 static PassOwnPtrWillBeRawPtr<InspectorWorkerAgent> create(); |
50 virtual ~InspectorWorkerAgent(); | 50 virtual ~InspectorWorkerAgent(); |
51 | 51 |
52 virtual void init() OVERRIDE; | 52 virtual void init() OVERRIDE; |
53 virtual void setFrontend(InspectorFrontend*) OVERRIDE; | 53 virtual void setFrontend(InspectorFrontend*) OVERRIDE; |
54 virtual void restore() OVERRIDE; | 54 virtual void restore() OVERRIDE; |
55 virtual void clearFrontend() OVERRIDE; | 55 virtual void clearFrontend() OVERRIDE; |
56 | 56 |
57 // Called from InspectorInstrumentation | 57 // Called from InspectorInstrumentation |
58 bool shouldPauseDedicatedWorkerOnStart(); | 58 bool shouldPauseDedicatedWorkerOnStart(); |
59 void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&); | 59 void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&); |
(...skipping 19 matching lines...) Expand all Loading... |
79 class WorkerFrontendChannel; | 79 class WorkerFrontendChannel; |
80 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels; | 80 typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels; |
81 WorkerChannels m_idToChannel; | 81 WorkerChannels m_idToChannel; |
82 typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers; | 82 typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers; |
83 DedicatedWorkers m_dedicatedWorkers; | 83 DedicatedWorkers m_dedicatedWorkers; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace blink | 86 } // namespace blink |
87 | 87 |
88 #endif // !defined(InspectorWorkerAgent_h) | 88 #endif // !defined(InspectorWorkerAgent_h) |
OLD | NEW |