| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void dispatchFetchEvent(int responseID, | 91 void dispatchFetchEvent(int responseID, |
| 92 int eventFinishID, | 92 int eventFinishID, |
| 93 const WebServiceWorkerRequest&) override; | 93 const WebServiceWorkerRequest&) override; |
| 94 void dispatchForeignFetchEvent(int responseID, | 94 void dispatchForeignFetchEvent(int responseID, |
| 95 int eventFinishID, | 95 int eventFinishID, |
| 96 const WebServiceWorkerRequest&) override; | 96 const WebServiceWorkerRequest&) override; |
| 97 void dispatchInstallEvent(int) override; | 97 void dispatchInstallEvent(int) override; |
| 98 void dispatchNotificationClickEvent(int, | 98 void dispatchNotificationClickEvent(int, |
| 99 const WebString& notificationID, | 99 const WebString& notificationID, |
| 100 const WebNotificationData&, | 100 const WebNotificationData&, |
| 101 int actionIndex) override; | 101 int actionIndex, |
| 102 const WebString& reply) override; |
| 102 void dispatchNotificationCloseEvent(int, | 103 void dispatchNotificationCloseEvent(int, |
| 103 const WebString& notificationID, | 104 const WebString& notificationID, |
| 104 const WebNotificationData&) override; | 105 const WebNotificationData&) override; |
| 105 void dispatchPushEvent(int, const WebString& data) override; | 106 void dispatchPushEvent(int, const WebString& data) override; |
| 106 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; | 107 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; |
| 107 bool hasFetchEventHandler() override; | 108 bool hasFetchEventHandler() override; |
| 108 | 109 |
| 109 // WorkerReportingProxy overrides: | 110 // WorkerReportingProxy overrides: |
| 110 void reportException(const String& errorMessage, | 111 void reportException(const String& errorMessage, |
| 111 std::unique_ptr<SourceLocation>, | 112 std::unique_ptr<SourceLocation>, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 Member<Document> m_document; | 151 Member<Document> m_document; |
| 151 | 152 |
| 152 WebServiceWorkerContextClient* m_client; | 153 WebServiceWorkerContextClient* m_client; |
| 153 | 154 |
| 154 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 155 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
| 155 }; | 156 }; |
| 156 | 157 |
| 157 } // namespace blink | 158 } // namespace blink |
| 158 | 159 |
| 159 #endif // ServiceWorkerGlobalScopeProxy_h | 160 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |