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 29 matching lines...) Expand all Loading... |
40 class WorkerScriptLoader; | 40 class WorkerScriptLoader; |
41 class WorkerThread; | 41 class WorkerThread; |
42 } | 42 } |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class ServiceWorkerGlobalScopeProxy; | 46 class ServiceWorkerGlobalScopeProxy; |
47 class WebServiceWorkerNetworkProvider; | 47 class WebServiceWorkerNetworkProvider; |
48 class WebView; | 48 class WebView; |
49 | 49 |
50 class WebEmbeddedWorkerImpl FINAL : | 50 class WebEmbeddedWorkerImpl FINAL |
51 public WebEmbeddedWorker, | 51 : public WebEmbeddedWorker |
52 public WebFrameClient { | 52 , public WebFrameClient { |
53 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl); | 53 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl); |
54 public: | 54 public: |
55 WebEmbeddedWorkerImpl( | 55 WebEmbeddedWorkerImpl( |
56 PassOwnPtr<WebServiceWorkerContextClient>, | 56 PassOwnPtr<WebServiceWorkerContextClient>, |
57 PassOwnPtr<WebWorkerPermissionClientProxy>); | 57 PassOwnPtr<WebWorkerPermissionClientProxy>); |
58 virtual ~WebEmbeddedWorkerImpl(); | 58 virtual ~WebEmbeddedWorkerImpl(); |
59 | 59 |
60 // Terminate all WebEmbeddedWorkerImpl for testing purposes. | 60 // Terminate all WebEmbeddedWorkerImpl for testing purposes. |
61 // Note that this only schedules termination and | 61 // Note that this only schedules termination and |
62 // does not synchronously wait for it to complete. | 62 // does not synchronously wait for it to complete. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 enum { | 118 enum { |
119 DontPauseAfterDownload, | 119 DontPauseAfterDownload, |
120 DoPauseAfterDownload, | 120 DoPauseAfterDownload, |
121 IsPausedAfterDownload | 121 IsPausedAfterDownload |
122 } m_pauseAfterDownloadState; | 122 } m_pauseAfterDownloadState; |
123 }; | 123 }; |
124 | 124 |
125 } // namespace blink | 125 } // namespace blink |
126 | 126 |
127 #endif // WebEmbeddedWorkerImpl_h | 127 #endif // WebEmbeddedWorkerImpl_h |
OLD | NEW |