| Index: public/web/WebServiceWorkerContextProxy.h
|
| diff --git a/public/platform/WebContentDecryptionModule.h b/public/web/WebServiceWorkerContextProxy.h
|
| similarity index 73%
|
| copy from public/platform/WebContentDecryptionModule.h
|
| copy to public/web/WebServiceWorkerContextProxy.h
|
| index d0e54734f70ed1624b0098cb4f88ab51790d064c..d011778335492029d5faa6375a75cec86996d509 100644
|
| --- a/public/platform/WebContentDecryptionModule.h
|
| +++ b/public/web/WebServiceWorkerContextProxy.h
|
| @@ -28,21 +28,24 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebContentDecryptionModule_h
|
| -#define WebContentDecryptionModule_h
|
| -
|
| -#include "public/platform/WebContentDecryptionModuleSession.h"
|
| +#ifndef WebServiceWorkerContextProxy_h
|
| +#define WebServiceWorkerContextProxy_h
|
|
|
| namespace blink {
|
|
|
| -class BLINK_PLATFORM_EXPORT WebContentDecryptionModule {
|
| +// A proxy interface to talk to the worker's GlobalScope implementation.
|
| +// All methods of this class must be called on the worker thread.
|
| +class WebServiceWorkerContextProxy {
|
| public:
|
| - virtual ~WebContentDecryptionModule();
|
| + // FIXME: Add service-worker specific methods.
|
|
|
| - // Must return non-null.
|
| - virtual WebContentDecryptionModuleSession* createSession(WebContentDecryptionModuleSession::Client*) = 0;
|
| + virtual void resumeWorkerContext() { }
|
| + virtual void attachDevTools() { }
|
| + virtual void reattachDevTools(const WebString& savedState) { }
|
| + virtual void detachDevTools() { }
|
| + virtual void dispatchDevToolsMessage(const WebString&) { }
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebContentDecryptionModule_h
|
| +#endif // WebServiceWorkerContextProxy_h
|
|
|