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 dispatchExtendableMessageEvent( | 84 void dispatchExtendableMessageEvent( |
85 int eventID, | 85 int eventID, |
86 const WebString& message, | 86 const WebString& message, |
87 const WebSecurityOrigin& sourceOrigin, | 87 const WebSecurityOrigin& sourceOrigin, |
88 const WebMessagePortChannelArray&, | 88 WebMessagePortChannelArray, |
89 const WebServiceWorkerClientInfo&) override; | 89 const WebServiceWorkerClientInfo&) override; |
90 void dispatchExtendableMessageEvent( | 90 void dispatchExtendableMessageEvent( |
91 int eventID, | 91 int eventID, |
92 const WebString& message, | 92 const WebString& message, |
93 const WebSecurityOrigin& sourceOrigin, | 93 const WebSecurityOrigin& sourceOrigin, |
94 const WebMessagePortChannelArray&, | 94 WebMessagePortChannelArray, |
95 std::unique_ptr<WebServiceWorker::Handle>) override; | 95 std::unique_ptr<WebServiceWorker::Handle>) override; |
96 void dispatchFetchEvent(int fetchEventID, | 96 void dispatchFetchEvent(int fetchEventID, |
97 const WebServiceWorkerRequest&, | 97 const WebServiceWorkerRequest&, |
98 bool navigationPreloadSent) override; | 98 bool navigationPreloadSent) override; |
99 void dispatchForeignFetchEvent(int fetchEventID, | 99 void dispatchForeignFetchEvent(int fetchEventID, |
100 const WebServiceWorkerRequest&) override; | 100 const WebServiceWorkerRequest&) override; |
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&, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; | 169 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; |
170 | 170 |
171 WebServiceWorkerContextClient* m_client; | 171 WebServiceWorkerContextClient* m_client; |
172 | 172 |
173 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 173 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
174 }; | 174 }; |
175 | 175 |
176 } // namespace blink | 176 } // namespace blink |
177 | 177 |
178 #endif // ServiceWorkerGlobalScopeProxy_h | 178 #endif // ServiceWorkerGlobalScopeProxy_h |
OLD | NEW |