Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 1029423004: Cache Storage: Add Platform API to retrieve CacheStorage for origin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove cruft, rename arg Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/Platform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698