| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 void dispatchInstallEvent(int) override; | 101 void dispatchInstallEvent(int) override; |
| 102 void dispatchNotificationClickEvent(int, | 102 void dispatchNotificationClickEvent(int, |
| 103 const WebString& notificationID, | 103 const WebString& notificationID, |
| 104 const WebNotificationData&, | 104 const WebNotificationData&, |
| 105 int actionIndex, | 105 int actionIndex, |
| 106 const WebString& reply) override; | 106 const WebString& reply) override; |
| 107 void dispatchNotificationCloseEvent(int, | 107 void dispatchNotificationCloseEvent(int, |
| 108 const WebString& notificationID, | 108 const WebString& notificationID, |
| 109 const WebNotificationData&) override; | 109 const WebNotificationData&) override; |
| 110 void dispatchPushEvent(int, const WebString& data) override; | 110 void dispatchPushEvent(int, const WebString& data) override; |
| 111 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; | |
| 112 bool hasFetchEventHandler() override; | 111 bool hasFetchEventHandler() override; |
| 113 void onNavigationPreloadResponse( | 112 void onNavigationPreloadResponse( |
| 114 int fetchEventID, | 113 int fetchEventID, |
| 115 std::unique_ptr<WebServiceWorkerResponse>, | 114 std::unique_ptr<WebServiceWorkerResponse>, |
| 116 std::unique_ptr<WebDataConsumerHandle>) override; | 115 std::unique_ptr<WebDataConsumerHandle>) override; |
| 117 void onNavigationPreloadError( | 116 void onNavigationPreloadError( |
| 118 int fetchEventID, | 117 int fetchEventID, |
| 119 std::unique_ptr<WebServiceWorkerError>) override; | 118 std::unique_ptr<WebServiceWorkerError>) override; |
| 120 | 119 |
| 121 // WorkerReportingProxy overrides: | 120 // WorkerReportingProxy overrides: |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; | 163 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; |
| 165 | 164 |
| 166 WebServiceWorkerContextClient* m_client; | 165 WebServiceWorkerContextClient* m_client; |
| 167 | 166 |
| 168 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 167 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
| 169 }; | 168 }; |
| 170 | 169 |
| 171 } // namespace blink | 170 } // namespace blink |
| 172 | 171 |
| 173 #endif // ServiceWorkerGlobalScopeProxy_h | 172 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |