| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 override; | 98 override; |
| 99 | 99 |
| 100 void onScriptLoaderFinished(); | 100 void onScriptLoaderFinished(); |
| 101 void startWorkerThread(); | 101 void startWorkerThread(); |
| 102 | 102 |
| 103 // WorkerLoaderProxyProvider | 103 // WorkerLoaderProxyProvider |
| 104 void postTaskToLoader(const WebTraceLocation&, | 104 void postTaskToLoader(const WebTraceLocation&, |
| 105 std::unique_ptr<ExecutionContextTask>) override; | 105 std::unique_ptr<ExecutionContextTask>) override; |
| 106 void postTaskToWorkerGlobalScope( | 106 void postTaskToWorkerGlobalScope( |
| 107 const WebTraceLocation&, | 107 const WebTraceLocation&, |
| 108 std::unique_ptr<ExecutionContextTask>) override; | 108 std::unique_ptr<WTF::CrossThreadClosure>) override; |
| 109 | 109 |
| 110 WebEmbeddedWorkerStartData m_workerStartData; | 110 WebEmbeddedWorkerStartData m_workerStartData; |
| 111 | 111 |
| 112 std::unique_ptr<WebServiceWorkerContextClient> m_workerContextClient; | 112 std::unique_ptr<WebServiceWorkerContextClient> m_workerContextClient; |
| 113 | 113 |
| 114 // This is kept until startWorkerContext is called, and then passed on | 114 // This is kept until startWorkerContext is called, and then passed on |
| 115 // to WorkerContext. | 115 // to WorkerContext. |
| 116 std::unique_ptr<WebWorkerContentSettingsClientProxy> m_contentSettingsClient; | 116 std::unique_ptr<WebWorkerContentSettingsClientProxy> m_contentSettingsClient; |
| 117 | 117 |
| 118 // We retain ownership of this one which is for use on the | 118 // We retain ownership of this one which is for use on the |
| (...skipping 27 matching lines...) Expand all Loading... |
| 146 DoPauseAfterDownload, | 146 DoPauseAfterDownload, |
| 147 IsPausedAfterDownload | 147 IsPausedAfterDownload |
| 148 } m_pauseAfterDownloadState; | 148 } m_pauseAfterDownloadState; |
| 149 | 149 |
| 150 WaitingForDebuggerState m_waitingForDebuggerState; | 150 WaitingForDebuggerState m_waitingForDebuggerState; |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace blink | 153 } // namespace blink |
| 154 | 154 |
| 155 #endif // WebEmbeddedWorkerImpl_h | 155 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |