| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 } | 233 } |
| 234 | 234 |
| 235 void ServiceWorkerGlobalScopeClientImpl::Navigate( | 235 void ServiceWorkerGlobalScopeClientImpl::Navigate( |
| 236 const WebString& client_uuid, | 236 const WebString& client_uuid, |
| 237 const WebURL& url, | 237 const WebURL& url, |
| 238 std::unique_ptr<WebServiceWorkerClientCallbacks> callback) { | 238 std::unique_ptr<WebServiceWorkerClientCallbacks> callback) { |
| 239 client_.Navigate(client_uuid, url, std::move(callback)); | 239 client_.Navigate(client_uuid, url, std::move(callback)); |
| 240 } | 240 } |
| 241 | 241 |
| 242 void ServiceWorkerGlobalScopeClientImpl::RegisterForeignFetchScopes( | 242 void ServiceWorkerGlobalScopeClientImpl::RegisterForeignFetchScopes( |
| 243 int install_event_id, |
| 243 const WebVector<WebURL>& sub_scopes, | 244 const WebVector<WebURL>& sub_scopes, |
| 244 const WebVector<WebSecurityOrigin>& origins) { | 245 const WebVector<WebSecurityOrigin>& origins) { |
| 245 client_.RegisterForeignFetchScopes(sub_scopes, origins); | 246 client_.RegisterForeignFetchScopes(install_event_id, sub_scopes, origins); |
| 246 } | 247 } |
| 247 | 248 |
| 248 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl( | 249 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl( |
| 249 WebServiceWorkerContextClient& client) | 250 WebServiceWorkerContextClient& client) |
| 250 : client_(client) {} | 251 : client_(client) {} |
| 251 | 252 |
| 252 } // namespace blink | 253 } // namespace blink |
| OLD | NEW |