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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void ServiceWorkerGlobalScopeClientImpl::clearCachedMetadata(const WebURL& url) | 66 void ServiceWorkerGlobalScopeClientImpl::clearCachedMetadata(const WebURL& url) |
67 { | 67 { |
68 m_client.clearCachedMetadata(url); | 68 m_client.clearCachedMetadata(url); |
69 } | 69 } |
70 | 70 |
71 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const | 71 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const |
72 { | 72 { |
73 return m_client.scope(); | 73 return m_client.scope(); |
74 } | 74 } |
75 | 75 |
76 WebServiceWorkerCacheStorage* ServiceWorkerGlobalScopeClientImpl::cacheStorage()
const | |
77 { | |
78 return m_client.cacheStorage(); | |
79 } | |
80 | |
81 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) | 76 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web
ServiceWorkerEventResult result) |
82 { | 77 { |
83 m_client.didHandleActivateEvent(eventID, result); | 78 m_client.didHandleActivateEvent(eventID, result); |
84 } | 79 } |
85 | 80 |
86 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID) | 81 void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID) |
87 { | 82 { |
88 m_client.didHandleFetchEvent(fetchEventID); | 83 m_client.didHandleFetchEvent(fetchEventID); |
89 } | 84 } |
90 | 85 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 { | 137 { |
143 m_client.focus(clientUUID, callback); | 138 m_client.focus(clientUUID, callback); |
144 } | 139 } |
145 | 140 |
146 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) | 141 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic
eWorkerContextClient& client) |
147 : m_client(client) | 142 : m_client(client) |
148 { | 143 { |
149 } | 144 } |
150 | 145 |
151 } // namespace blink | 146 } // namespace blink |
OLD | NEW |