OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const | 70 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const |
71 { | 71 { |
72 return m_client.scope(); | 72 return m_client.scope(); |
73 } | 73 } |
74 | 74 |
75 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) | 75 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) |
76 { | 76 { |
77 m_client.didHandleActivateEvent(eventID, result); | 77 m_client.didHandleActivateEvent(eventID, result); |
78 } | 78 } |
79 | 79 |
| 80 void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent(int eve
ntID, WebServiceWorkerEventResult result) |
| 81 { |
| 82 m_client.didHandleExtendableMessageEvent(eventID, result); |
| 83 } |
| 84 |
80 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID) | 85 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID) |
81 { | 86 { |
82 m_client.didHandleFetchEvent(fetchEventID); | 87 m_client.didHandleFetchEvent(fetchEventID); |
83 } | 88 } |
84 | 89 |
85 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, c
onst WebServiceWorkerResponse& webResponse) | 90 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, c
onst WebServiceWorkerResponse& webResponse) |
86 { | 91 { |
87 m_client.didHandleFetchEvent(fetchEventID, webResponse); | 92 m_client.didHandleFetchEvent(fetchEventID, webResponse); |
88 } | 93 } |
89 | 94 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 { | 146 { |
142 m_client.registerForeignFetchScopes(subScopes); | 147 m_client.registerForeignFetchScopes(subScopes); |
143 } | 148 } |
144 | 149 |
145 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 150 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
146 : m_client(client) | 151 : m_client(client) |
147 { | 152 { |
148 } | 153 } |
149 | 154 |
150 } // namespace blink | 155 } // namespace blink |
OLD | NEW |