Chromium Code Reviews| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 const WebString& message, | 119 const WebString& message, |
| 120 WebMessagePortChannelArray) override; | 120 WebMessagePortChannelArray) override; |
| 121 void SkipWaiting( | 121 void SkipWaiting( |
| 122 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override; | 122 std::unique_ptr<WebServiceWorkerSkipWaitingCallbacks>) override; |
| 123 void Claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override; | 123 void Claim(std::unique_ptr<WebServiceWorkerClientsClaimCallbacks>) override; |
| 124 void Focus(const WebString& client_uuid, | 124 void Focus(const WebString& client_uuid, |
| 125 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 125 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
| 126 void Navigate(const WebString& client_uuid, | 126 void Navigate(const WebString& client_uuid, |
| 127 const WebURL&, | 127 const WebURL&, |
| 128 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 128 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
| 129 void RegisterForeignFetchScopes(const WebVector<WebURL>& sub_scopes, | 129 void RegisterForeignFetchScopes(int event_id, |
|
horo
2017/04/27 09:22:21
nit: install_event_id
xiaofengzhang
2017/04/28 07:14:24
Done.
| |
| 130 const WebVector<WebURL>& sub_scopes, | |
| 130 const WebVector<WebSecurityOrigin>&) override; | 131 const WebVector<WebSecurityOrigin>&) override; |
| 131 | 132 |
| 132 DEFINE_INLINE_VIRTUAL_TRACE() { | 133 DEFINE_INLINE_VIRTUAL_TRACE() { |
| 133 ServiceWorkerGlobalScopeClient::Trace(visitor); | 134 ServiceWorkerGlobalScopeClient::Trace(visitor); |
| 134 } | 135 } |
| 135 | 136 |
| 136 private: | 137 private: |
| 137 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); | 138 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); |
| 138 | 139 |
| 139 WebServiceWorkerContextClient& client_; | 140 WebServiceWorkerContextClient& client_; |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 } // namespace blink | 143 } // namespace blink |
| 143 | 144 |
| 144 #endif // ServiceWorkerGlobalScopeClientImpl_h | 145 #endif // ServiceWorkerGlobalScopeClientImpl_h |
| OLD | NEW |