| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) { BLINK_ASSE
RT_NOT_REACHED(); } | 180 virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) { BLINK_ASSE
RT_NOT_REACHED(); } |
| 181 | 181 |
| 182 // Ownership of the passed callbacks is transferred to the callee, callee | 182 // Ownership of the passed callbacks is transferred to the callee, callee |
| 183 // should delete the callbacks after run. | 183 // should delete the callbacks after run. |
| 184 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) { BLINK_ASSERT_NO
T_REACHED(); } | 184 virtual void claim(WebServiceWorkerClientsClaimCallbacks*) { BLINK_ASSERT_NO
T_REACHED(); } |
| 185 | 185 |
| 186 // Ownership of the passed callbacks is transferred to the callee, callee | 186 // Ownership of the passed callbacks is transferred to the callee, callee |
| 187 // should delete the callback after calling either onSuccess or onError. | 187 // should delete the callback after calling either onSuccess or onError. |
| 188 virtual void focus(const WebString& uuid, WebServiceWorkerClientCallbacks*)
{ BLINK_ASSERT_NOT_REACHED(); } | 188 virtual void focus(const WebString& uuid, WebServiceWorkerClientCallbacks*)
{ BLINK_ASSERT_NOT_REACHED(); } |
| 189 | 189 |
| 190 // Ownership of the passed callbacks is transferred to the callee, callee |
| 191 // should delete the callbacks after calling either onSuccess or onError. |
| 192 // WebServiceWorkerClientInfo and WebServiceWorkerError ownerships are |
| 193 // passed to the WebServiceWorkerClientsCallbacks implementation. |
| 194 virtual void navigate(const WebString& uuid, const WebURL&, WebServiceWorker
ClientCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
| 195 |
| 190 // Ownership of the passed WebMessagePortChannel is NOT passed to the callee
. | 196 // Ownership of the passed WebMessagePortChannel is NOT passed to the callee
. |
| 191 virtual void stashMessagePort(WebMessagePortChannel*, const WebString& name)
{ BLINK_ASSERT_NOT_REACHED(); } | 197 virtual void stashMessagePort(WebMessagePortChannel*, const WebString& name)
{ BLINK_ASSERT_NOT_REACHED(); } |
| 192 }; | 198 }; |
| 193 | 199 |
| 194 } // namespace blink | 200 } // namespace blink |
| 195 | 201 |
| 196 #endif // WebServiceWorkerContextClient_h | 202 #endif // WebServiceWorkerContextClient_h |
| OLD | NEW |