| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 26 matching lines...) Expand all Loading... |
| 37 #include "core/workers/WorkerMessagingProxy.h" | 37 #include "core/workers/WorkerMessagingProxy.h" |
| 38 #include "core/workers/WorkerObjectProxy.h" | 38 #include "core/workers/WorkerObjectProxy.h" |
| 39 | 39 |
| 40 #include "public/platform/WebFileSystem.h" | 40 #include "public/platform/WebFileSystem.h" |
| 41 #include "public/platform/WebFileSystemType.h" | 41 #include "public/platform/WebFileSystemType.h" |
| 42 #include "wtf/OwnPtr.h" | 42 #include "wtf/OwnPtr.h" |
| 43 #include "wtf/PassOwnPtr.h" | 43 #include "wtf/PassOwnPtr.h" |
| 44 #include "wtf/RefPtr.h" | 44 #include "wtf/RefPtr.h" |
| 45 | 45 |
| 46 | 46 |
| 47 namespace WebKit { | 47 namespace blink { |
| 48 class WebWorker; | 48 class WebWorker; |
| 49 class WebFrameImpl; | 49 class WebFrameImpl; |
| 50 | 50 |
| 51 // This class provides chromium implementation for WorkerGlobalScopeProxy, Worke
rObjectProxy amd WorkerLoaderProxy | 51 // This class provides chromium implementation for WorkerGlobalScopeProxy, Worke
rObjectProxy amd WorkerLoaderProxy |
| 52 // for in-proc dedicated workers. | 52 // for in-proc dedicated workers. |
| 53 // | 53 // |
| 54 // In essence, this class decorates WorkerMessagingProxy. | 54 // In essence, this class decorates WorkerMessagingProxy. |
| 55 // | 55 // |
| 56 // It is imperative that this class inherit from WorkerMessagingProxy rather tha
n delegate to an instance of | 56 // It is imperative that this class inherit from WorkerMessagingProxy rather tha
n delegate to an instance of |
| 57 // WorkerMessagingProxy, because that class tracks and reports its activity to o
utside callers, and manages | 57 // WorkerMessagingProxy, because that class tracks and reports its activity to o
utside callers, and manages |
| (...skipping 10 matching lines...) Expand all Loading... |
| 68 // process, this will be the main WebKit thread. | 68 // process, this will be the main WebKit thread. |
| 69 virtual void terminateWorkerGlobalScope() OVERRIDE; | 69 virtual void terminateWorkerGlobalScope() OVERRIDE; |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 WebWorkerClientImpl(WebCore::Worker*, WebFrameImpl*, PassOwnPtr<WebCore::Wor
kerClients>); | 72 WebWorkerClientImpl(WebCore::Worker*, WebFrameImpl*, PassOwnPtr<WebCore::Wor
kerClients>); |
| 73 virtual ~WebWorkerClientImpl(); | 73 virtual ~WebWorkerClientImpl(); |
| 74 | 74 |
| 75 WebFrameImpl* m_webFrame; | 75 WebFrameImpl* m_webFrame; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace WebKit; | 78 } // namespace blink; |
| 79 | 79 |
| 80 #endif | 80 #endif |
| OLD | NEW |