| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 public: | 74 public: |
| 75 static ServiceWorkerGlobalScopeProxy* create(WebEmbeddedWorkerImpl&, | 75 static ServiceWorkerGlobalScopeProxy* create(WebEmbeddedWorkerImpl&, |
| 76 Document&, | 76 Document&, |
| 77 WebServiceWorkerContextClient&); | 77 WebServiceWorkerContextClient&); |
| 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; |
| 85 void dispatchBackgroundFetchClickEvent(int, |
| 86 const WebString& tag, |
| 87 BackgroundFetchState) override; |
| 84 void dispatchExtendableMessageEvent( | 88 void dispatchExtendableMessageEvent( |
| 85 int eventID, | 89 int eventID, |
| 86 const WebString& message, | 90 const WebString& message, |
| 87 const WebSecurityOrigin& sourceOrigin, | 91 const WebSecurityOrigin& sourceOrigin, |
| 88 WebMessagePortChannelArray, | 92 WebMessagePortChannelArray, |
| 89 const WebServiceWorkerClientInfo&) override; | 93 const WebServiceWorkerClientInfo&) override; |
| 90 void dispatchExtendableMessageEvent( | 94 void dispatchExtendableMessageEvent( |
| 91 int eventID, | 95 int eventID, |
| 92 const WebString& message, | 96 const WebString& message, |
| 93 const WebSecurityOrigin& sourceOrigin, | 97 const WebSecurityOrigin& sourceOrigin, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; | 173 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; |
| 170 | 174 |
| 171 WebServiceWorkerContextClient* m_client; | 175 WebServiceWorkerContextClient* m_client; |
| 172 | 176 |
| 173 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 177 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
| 174 }; | 178 }; |
| 175 | 179 |
| 176 } // namespace blink | 180 } // namespace blink |
| 177 | 181 |
| 178 #endif // ServiceWorkerGlobalScopeProxy_h | 182 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |