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

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

Issue 424643002: Introducing the WebServiceWorkerCacheStorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: parameter naming Created 6 years, 4 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/WebCallbacks.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb acks* callbacks) 54 void ServiceWorkerGlobalScopeClientImpl::getClients(WebServiceWorkerClientsCallb acks* callbacks)
55 { 55 {
56 m_client.getClients(callbacks); 56 m_client.getClients(callbacks);
57 } 57 }
58 58
59 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const 59 WebURL ServiceWorkerGlobalScopeClientImpl::scope() const
60 { 60 {
61 return m_client.scope(); 61 return m_client.scope();
62 } 62 }
63 63
64 WebServiceWorkerCacheStorage* ServiceWorkerGlobalScopeClientImpl::cacheStorage() const
65 {
66 return m_client.cacheStorage();
67 }
68
64 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web ServiceWorkerEventResult result) 69 void ServiceWorkerGlobalScopeClientImpl::didHandleActivateEvent(int eventID, Web ServiceWorkerEventResult result)
65 { 70 {
66 m_client.didHandleActivateEvent(eventID, result); 71 m_client.didHandleActivateEvent(eventID, result);
67 } 72 }
68 73
69 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result) 74 void ServiceWorkerGlobalScopeClientImpl::didHandleInstallEvent(int installEventI D, WebServiceWorkerEventResult result)
70 { 75 {
71 m_client.didHandleInstallEvent(installEventID, result); 76 m_client.didHandleInstallEvent(installEventID, result);
72 } 77 }
73 78
(...skipping 23 matching lines...) Expand all
97 { 102 {
98 m_client.postMessageToClient(clientID, message, webChannels.leakPtr()); 103 m_client.postMessageToClient(clientID, message, webChannels.leakPtr());
99 } 104 }
100 105
101 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client) 106 ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServic eWorkerContextClient& client)
102 : m_client(client) 107 : m_client(client)
103 { 108 {
104 } 109 }
105 110
106 } // namespace blink 111 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/WebCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698