| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) overrid
e; | 72 virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) overrid
e; |
| 73 virtual void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebS
tring& regionID, const WebCircularGeofencingRegion&) override; | 73 virtual void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebS
tring& regionID, const WebCircularGeofencingRegion&) override; |
| 74 virtual void dispatchMessageEvent(const WebString& message, const WebMessage
PortChannelArray&) override; | 74 virtual void dispatchMessageEvent(const WebString& message, const WebMessage
PortChannelArray&) override; |
| 75 virtual void dispatchPushEvent(int, const WebString& data) override; | 75 virtual void dispatchPushEvent(int, const WebString& data) override; |
| 76 virtual void dispatchSyncEvent(int) override; | 76 virtual void dispatchSyncEvent(int) override; |
| 77 | 77 |
| 78 // WorkerReportingProxy overrides: | 78 // WorkerReportingProxy overrides: |
| 79 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL) override; | 79 virtual void reportException(const String& errorMessage, int lineNumber, int
columnNumber, const String& sourceURL) override; |
| 80 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; | 80 virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) ov
erride; |
| 81 virtual void postMessageToPageInspector(const String&) override; | 81 virtual void postMessageToPageInspector(const String&) override; |
| 82 virtual void updateInspectorStateCookie(const String&) override; | |
| 83 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; | 82 virtual void workerGlobalScopeStarted(WorkerGlobalScope*) override; |
| 84 virtual void workerGlobalScopeClosed() override; | 83 virtual void workerGlobalScopeClosed() override; |
| 85 virtual void willDestroyWorkerGlobalScope() override; | 84 virtual void willDestroyWorkerGlobalScope() override; |
| 86 virtual void workerThreadTerminated() override; | 85 virtual void workerThreadTerminated() override; |
| 87 | 86 |
| 88 private: | 87 private: |
| 89 ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerImpl&, Document&, WebServiceW
orkerContextClient&); | 88 ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerImpl&, Document&, WebServiceW
orkerContextClient&); |
| 90 | 89 |
| 91 WebEmbeddedWorkerImpl& m_embeddedWorker; | 90 WebEmbeddedWorkerImpl& m_embeddedWorker; |
| 92 Document& m_document; | 91 Document& m_document; |
| 93 | 92 |
| 94 WebServiceWorkerContextClient& m_client; | 93 WebServiceWorkerContextClient& m_client; |
| 95 | 94 |
| 96 WorkerGlobalScope* m_workerGlobalScope; | 95 WorkerGlobalScope* m_workerGlobalScope; |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace blink | 98 } // namespace blink |
| 100 | 99 |
| 101 #endif // ServiceWorkerGlobalScopeProxy_h | 100 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |