| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // WebDevToolsAgentClient overrides. | 87 // WebDevToolsAgentClient overrides. |
| 88 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; | 88 void sendProtocolMessage(int sessionId, int callId, const WebString&, const
WebString&) override; |
| 89 void resumeStartup() override; | 89 void resumeStartup() override; |
| 90 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; | 90 WebDevToolsAgentClient::WebKitClientMessageLoop* createClientMessageLoop() o
verride; |
| 91 | 91 |
| 92 void onScriptLoaderFinished(); | 92 void onScriptLoaderFinished(); |
| 93 void startWorkerThread(); | 93 void startWorkerThread(); |
| 94 | 94 |
| 95 // WorkerLoaderProxyProvider | 95 // WorkerLoaderProxyProvider |
| 96 void postTaskToLoader(const WebTraceLocation&, std::unique_ptr<ExecutionCont
extTask>) override; | 96 void postTaskToLoader(const WebTraceLocation&, std::unique_ptr<ExecutionCont
extTask>) override; |
| 97 bool postTaskToWorkerGlobalScope(const WebTraceLocation&, std::unique_ptr<Ex
ecutionContextTask>) override; | 97 void postTaskToWorkerGlobalScope(const WebTraceLocation&, std::unique_ptr<Ex
ecutionContextTask>) override; |
| 98 | 98 |
| 99 WebEmbeddedWorkerStartData m_workerStartData; | 99 WebEmbeddedWorkerStartData m_workerStartData; |
| 100 | 100 |
| 101 std::unique_ptr<WebServiceWorkerContextClient> m_workerContextClient; | 101 std::unique_ptr<WebServiceWorkerContextClient> m_workerContextClient; |
| 102 | 102 |
| 103 // This is kept until startWorkerContext is called, and then passed on | 103 // This is kept until startWorkerContext is called, and then passed on |
| 104 // to WorkerContext. | 104 // to WorkerContext. |
| 105 std::unique_ptr<WebWorkerContentSettingsClientProxy> m_contentSettingsClient
; | 105 std::unique_ptr<WebWorkerContentSettingsClientProxy> m_contentSettingsClient
; |
| 106 | 106 |
| 107 // We retain ownership of this one which is for use on the | 107 // We retain ownership of this one which is for use on the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 138 DoPauseAfterDownload, | 138 DoPauseAfterDownload, |
| 139 IsPausedAfterDownload | 139 IsPausedAfterDownload |
| 140 } m_pauseAfterDownloadState; | 140 } m_pauseAfterDownloadState; |
| 141 | 141 |
| 142 WaitingForDebuggerState m_waitingForDebuggerState; | 142 WaitingForDebuggerState m_waitingForDebuggerState; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 } // namespace blink | 145 } // namespace blink |
| 146 | 146 |
| 147 #endif // WebEmbeddedWorkerImpl_h | 147 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |