| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) | 106 void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID, Web
ServiceWorkerEventResult result) |
| 107 { | 107 { |
| 108 m_client.didHandleSyncEvent(syncEventID, result); | 108 m_client.didHandleSyncEvent(syncEventID, result); |
| 109 } | 109 } |
| 110 | 110 |
| 111 void ServiceWorkerGlobalScopeClientImpl::didHandleCrossOriginConnectEvent(int co
nnectEventID, bool acceptConnect) | 111 void ServiceWorkerGlobalScopeClientImpl::didHandleCrossOriginConnectEvent(int co
nnectEventID, bool acceptConnect) |
| 112 { | 112 { |
| 113 m_client.didHandleCrossOriginConnectEvent(connectEventID, acceptConnect); | 113 m_client.didHandleCrossOriginConnectEvent(connectEventID, acceptConnect); |
| 114 } | 114 } |
| 115 | 115 |
| 116 void ServiceWorkerGlobalScopeClientImpl::didHandleMessageEvent(int messageEventI
D, WebServiceWorkerEventResult result) |
| 117 { |
| 118 m_client.didHandleMessageEvent(messageEventID, result); |
| 119 } |
| 120 |
| 116 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& cl
ientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webCh
annels) | 121 void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& cl
ientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webCh
annels) |
| 117 { | 122 { |
| 118 m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr()); | 123 m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr()); |
| 119 } | 124 } |
| 120 | 125 |
| 121 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) | 126 void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const We
bCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<We
bMessagePortChannelArray> webChannels) |
| 122 { | 127 { |
| 123 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); | 128 m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr
()); |
| 124 } | 129 } |
| 125 | 130 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 142 { | 147 { |
| 143 m_client.stashMessagePort(channel, name); | 148 m_client.stashMessagePort(channel, name); |
| 144 } | 149 } |
| 145 | 150 |
| 146 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 151 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
| 147 : m_client(client) | 152 : m_client(client) |
| 148 { | 153 { |
| 149 } | 154 } |
| 150 | 155 |
| 151 } // namespace blink | 156 } // namespace blink |
| OLD | NEW |