| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 } | 96 } |
| 97 | 97 |
| 98 void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchClickEvent( | 98 void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchClickEvent( |
| 99 int eventID, | 99 int eventID, |
| 100 WebServiceWorkerEventResult result, | 100 WebServiceWorkerEventResult result, |
| 101 double eventDispatchTime) { | 101 double eventDispatchTime) { |
| 102 m_client.didHandleBackgroundFetchClickEvent(eventID, result, | 102 m_client.didHandleBackgroundFetchClickEvent(eventID, result, |
| 103 eventDispatchTime); | 103 eventDispatchTime); |
| 104 } | 104 } |
| 105 | 105 |
| 106 void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchFailEvent( |
| 107 int eventID, |
| 108 WebServiceWorkerEventResult result, |
| 109 double eventDispatchTime) { |
| 110 m_client.didHandleBackgroundFetchFailEvent(eventID, result, |
| 111 eventDispatchTime); |
| 112 } |
| 113 |
| 114 void ServiceWorkerGlobalScopeClientImpl::didHandleBackgroundFetchedEvent( |
| 115 int eventID, |
| 116 WebServiceWorkerEventResult result, |
| 117 double eventDispatchTime) { |
| 118 m_client.didHandleBackgroundFetchedEvent(eventID, result, eventDispatchTime); |
| 119 } |
| 120 |
| 106 void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent( | 121 void ServiceWorkerGlobalScopeClientImpl::didHandleExtendableMessageEvent( |
| 107 int eventID, | 122 int eventID, |
| 108 WebServiceWorkerEventResult result, | 123 WebServiceWorkerEventResult result, |
| 109 double eventDispatchTime) { | 124 double eventDispatchTime) { |
| 110 m_client.didHandleExtendableMessageEvent(eventID, result, eventDispatchTime); | 125 m_client.didHandleExtendableMessageEvent(eventID, result, eventDispatchTime); |
| 111 } | 126 } |
| 112 | 127 |
| 113 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent( | 128 void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent( |
| 114 int fetchEventID, | 129 int fetchEventID, |
| 115 double eventDispatchTime) { | 130 double eventDispatchTime) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 const WebVector<WebURL>& subScopes, | 229 const WebVector<WebURL>& subScopes, |
| 215 const WebVector<WebSecurityOrigin>& origins) { | 230 const WebVector<WebSecurityOrigin>& origins) { |
| 216 m_client.registerForeignFetchScopes(subScopes, origins); | 231 m_client.registerForeignFetchScopes(subScopes, origins); |
| 217 } | 232 } |
| 218 | 233 |
| 219 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl( | 234 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl( |
| 220 WebServiceWorkerContextClient& client) | 235 WebServiceWorkerContextClient& client) |
| 221 : m_client(client) {} | 236 : m_client(client) {} |
| 222 | 237 |
| 223 } // namespace blink | 238 } // namespace blink |
| OLD | NEW |