| 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 28 matching lines...) Expand all Loading... |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 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 WebView; | 47 class WebView; |
| 48 | 48 |
| 49 class WebEmbeddedWorkerImpl : | 49 class WebEmbeddedWorkerImpl FINAL : |
| 50 public WebEmbeddedWorker, | 50 public WebEmbeddedWorker, |
| 51 public WebFrameClient { | 51 public WebFrameClient { |
| 52 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl); | 52 WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl); |
| 53 public: | 53 public: |
| 54 WebEmbeddedWorkerImpl( | 54 WebEmbeddedWorkerImpl( |
| 55 PassOwnPtr<WebServiceWorkerContextClient>, | 55 PassOwnPtr<WebServiceWorkerContextClient>, |
| 56 PassOwnPtr<WebWorkerPermissionClientProxy>); | 56 PassOwnPtr<WebWorkerPermissionClientProxy>); |
| 57 virtual ~WebEmbeddedWorkerImpl(); | 57 virtual ~WebEmbeddedWorkerImpl(); |
| 58 | 58 |
| 59 // WebEmbeddedWorker overrides. | 59 // WebEmbeddedWorker overrides. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // are guaranteed to exist while this object is around. | 91 // are guaranteed to exist while this object is around. |
| 92 WebView* m_webView; | 92 WebView* m_webView; |
| 93 WebFrame* m_mainFrame; | 93 WebFrame* m_mainFrame; |
| 94 | 94 |
| 95 bool m_askedToTerminate; | 95 bool m_askedToTerminate; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif // WebEmbeddedWorkerImpl_h | 100 #endif // WebEmbeddedWorkerImpl_h |
| OLD | NEW |