| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 virtual void focus(const WebString& uuid, WebServiceWorkerClientCallbacks*)
{ BLINK_ASSERT_NOT_REACHED(); } | 185 virtual void focus(const WebString& uuid, WebServiceWorkerClientCallbacks*)
{ BLINK_ASSERT_NOT_REACHED(); } |
| 186 | 186 |
| 187 // Ownership of the passed callbacks is transferred to the callee, callee | 187 // Ownership of the passed callbacks is transferred to the callee, callee |
| 188 // should delete the callbacks after calling either onSuccess or onError. | 188 // should delete the callbacks after calling either onSuccess or onError. |
| 189 // WebServiceWorkerClientInfo and WebServiceWorkerError ownerships are | 189 // WebServiceWorkerClientInfo and WebServiceWorkerError ownerships are |
| 190 // passed to the WebServiceWorkerClientsCallbacks implementation. | 190 // passed to the WebServiceWorkerClientsCallbacks implementation. |
| 191 virtual void navigate(const WebString& uuid, const WebURL&, WebServiceWorker
ClientCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } | 191 virtual void navigate(const WebString& uuid, const WebURL&, WebServiceWorker
ClientCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
| 192 | 192 |
| 193 // Called when the worker wants to register subscopes to handle via foreign | 193 // Called when the worker wants to register subscopes to handle via foreign |
| 194 // fetch. Will only be called while an install event is in progress. | 194 // fetch. Will only be called while an install event is in progress. |
| 195 virtual void registerForeignFetchScopes(const WebVector<WebURL>& subScopes)
{ BLINK_ASSERT_NOT_REACHED(); } | 195 virtual void registerForeignFetchScopes(const WebVector<WebURL>& subScopes,
const WebVector<WebURL>& origins) { BLINK_ASSERT_NOT_REACHED(); } |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace blink | 198 } // namespace blink |
| 199 | 199 |
| 200 #endif // WebServiceWorkerContextClient_h | 200 #endif // WebServiceWorkerContextClient_h |
| OLD | NEW |