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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 ~ServiceWorkerGlobalScopeProxy() override; | 78 ~ServiceWorkerGlobalScopeProxy() override; |
79 | 79 |
80 // WebServiceWorkerContextProxy overrides: | 80 // WebServiceWorkerContextProxy overrides: |
81 void setRegistration( | 81 void setRegistration( |
82 std::unique_ptr<WebServiceWorkerRegistration::Handle>) override; | 82 std::unique_ptr<WebServiceWorkerRegistration::Handle>) override; |
83 void dispatchActivateEvent(int) override; | 83 void dispatchActivateEvent(int) override; |
84 void dispatchBackgroundFetchAbortEvent(int, const WebString& tag) override; | 84 void dispatchBackgroundFetchAbortEvent(int, const WebString& tag) override; |
85 void dispatchBackgroundFetchClickEvent(int, | 85 void dispatchBackgroundFetchClickEvent(int, |
86 const WebString& tag, | 86 const WebString& tag, |
87 BackgroundFetchState) override; | 87 BackgroundFetchState) override; |
| 88 void dispatchBackgroundFetchFailEvent( |
| 89 int, |
| 90 const WebString& tag, |
| 91 const WebVector<WebBackgroundFetchSettledFetch>& fetches) override; |
| 92 void dispatchBackgroundFetchedEvent( |
| 93 int, |
| 94 const WebString& tag, |
| 95 const WebVector<WebBackgroundFetchSettledFetch>& fetches) override; |
88 void dispatchExtendableMessageEvent( | 96 void dispatchExtendableMessageEvent( |
89 int eventID, | 97 int eventID, |
90 const WebString& message, | 98 const WebString& message, |
91 const WebSecurityOrigin& sourceOrigin, | 99 const WebSecurityOrigin& sourceOrigin, |
92 WebMessagePortChannelArray, | 100 WebMessagePortChannelArray, |
93 const WebServiceWorkerClientInfo&) override; | 101 const WebServiceWorkerClientInfo&) override; |
94 void dispatchExtendableMessageEvent( | 102 void dispatchExtendableMessageEvent( |
95 int eventID, | 103 int eventID, |
96 const WebString& message, | 104 const WebString& message, |
97 const WebSecurityOrigin& sourceOrigin, | 105 const WebSecurityOrigin& sourceOrigin, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 HashMap<int, CrossThreadPersistent<FetchEvent>> m_pendingPreloadFetchEvents; | 189 HashMap<int, CrossThreadPersistent<FetchEvent>> m_pendingPreloadFetchEvents; |
182 | 190 |
183 WebServiceWorkerContextClient* m_client; | 191 WebServiceWorkerContextClient* m_client; |
184 | 192 |
185 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 193 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
186 }; | 194 }; |
187 | 195 |
188 } // namespace blink | 196 } // namespace blink |
189 | 197 |
190 #endif // ServiceWorkerGlobalScopeProxy_h | 198 #endif // ServiceWorkerGlobalScopeProxy_h |
OLD | NEW |