| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb
acks* callbacks) | 54 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb
acks* callbacks) |
| 55 { | 55 { |
| 56 m_client.getClients(callbacks); | 56 m_client.getClients(callbacks); |
| 57 } | 57 } |
| 58 | 58 |
| 59 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const | 59 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const |
| 60 { | 60 { |
| 61 return m_client.scope(); | 61 return m_client.scope(); |
| 62 } | 62 } |
| 63 | 63 |
| 64 WebServiceWorkerFetchStores* ServiceWorkerGlobalScopeClientImpl::fetchStores() c
onst |
| 65 { |
| 66 return m_client.fetchStores(); |
| 67 } |
| 68 |
| 64 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) | 69 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) |
| 65 { | 70 { |
| 66 m_client.didHandleActivateEvent(eventID, result); | 71 m_client.didHandleActivateEvent(eventID, result); |
| 67 } | 72 } |
| 68 | 73 |
| 69 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI
D, WebServiceWorkerEventResult result) | 74 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI
D, WebServiceWorkerEventResult result) |
| 70 { | 75 { |
| 71 m_client.didHandleInstallEvent(installEventID, result); | 76 m_client.didHandleInstallEvent(installEventID, result); |
| 72 } | 77 } |
| 73 | 78 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 97 { | 102 { |
| 98 m_client.postMessageToClient(clientID, message, webChannels.leakPtr()); | 103 m_client.postMessageToClient(clientID, message, webChannels.leakPtr()); |
| 99 } | 104 } |
| 100 | 105 |
| 101 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 106 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
| 102 : m_client(client) | 107 : m_client(client) |
| 103 { | 108 { |
| 104 } | 109 } |
| 105 | 110 |
| 106 } // namespace blink | 111 } // namespace blink |
| OLD | NEW |