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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void restoreInspectorStateFromCookie(const String& inspectorCookie); | 62 void restoreInspectorStateFromCookie(const String& inspectorCookie); |
63 void dispatchMessageFromFrontend(const String&); | 63 void dispatchMessageFromFrontend(const String&); |
64 void resume(); | 64 void resume(); |
65 | 65 |
66 private: | 66 private: |
67 friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobal
Scope*); | 67 friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobal
Scope*); |
68 | 68 |
69 WorkerGlobalScope* m_workerGlobalScope; | 69 WorkerGlobalScope* m_workerGlobalScope; |
70 OwnPtr<InspectorStateClient> m_stateClient; | 70 OwnPtr<InspectorStateClient> m_stateClient; |
71 OwnPtr<InspectorCompositeState> m_state; | 71 OwnPtr<InspectorCompositeState> m_state; |
72 RefPtr<InstrumentingAgents> m_instrumentingAgents; | 72 RefPtrWillBePersistent<InstrumentingAgents> m_instrumentingAgents; |
73 OwnPtr<InjectedScriptManager> m_injectedScriptManager; | 73 OwnPtr<InjectedScriptManager> m_injectedScriptManager; |
74 OwnPtr<WorkerScriptDebugServer> m_debugServer; | 74 OwnPtr<WorkerScriptDebugServer> m_debugServer; |
75 InspectorAgentRegistry m_agents; | 75 OwnPtrWillBePersistent<InspectorAgentRegistry> m_agents; |
76 OwnPtr<InspectorFrontendChannel> m_frontendChannel; | 76 OwnPtr<InspectorFrontendChannel> m_frontendChannel; |
77 OwnPtr<InspectorFrontend> m_frontend; | 77 OwnPtr<InspectorFrontend> m_frontend; |
78 RefPtr<InspectorBackendDispatcher> m_backendDispatcher; | 78 RefPtr<InspectorBackendDispatcher> m_backendDispatcher; |
79 }; | 79 }; |
80 | 80 |
81 } | 81 } |
82 | 82 |
83 #endif // !defined(WorkerInspectorController_h) | 83 #endif // !defined(WorkerInspectorController_h) |
OLD | NEW |