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

Side by Side Diff: content/renderer/service_worker/service_worker_context_client.h

Issue 2646313002: PaymentApp: Implement invokePaymentApp() in renderer side. (Closed)
Patch Set: address comments Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void didHandleNotificationCloseEvent( 163 void didHandleNotificationCloseEvent(
164 int request_id, 164 int request_id,
165 blink::WebServiceWorkerEventResult result, 165 blink::WebServiceWorkerEventResult result,
166 double dispatch_event_time) override; 166 double dispatch_event_time) override;
167 void didHandlePushEvent(int request_id, 167 void didHandlePushEvent(int request_id,
168 blink::WebServiceWorkerEventResult result, 168 blink::WebServiceWorkerEventResult result,
169 double dispatch_event_time) override; 169 double dispatch_event_time) override;
170 void didHandleSyncEvent(int request_id, 170 void didHandleSyncEvent(int request_id,
171 blink::WebServiceWorkerEventResult result, 171 blink::WebServiceWorkerEventResult result,
172 double dispatch_event_time) override; 172 double dispatch_event_time) override;
173 void didHandlePaymentRequestEvent(int request_id,
174 blink::WebServiceWorkerEventResult result,
175 double dispatch_event_time) override;
173 176
174 // Called on the main thread. 177 // Called on the main thread.
175 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( 178 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider(
176 blink::WebDataSource* data_source) override; 179 blink::WebDataSource* data_source) override;
177 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override; 180 blink::WebServiceWorkerProvider* createServiceWorkerProvider() override;
178 181
179 void postMessageToClient( 182 void postMessageToClient(
180 const blink::WebString& uuid, 183 const blink::WebString& uuid,
181 const blink::WebString& message, 184 const blink::WebString& message,
182 blink::WebMessagePortChannelArray* channels) override; 185 blink::WebMessagePortChannelArray* channels) override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // Initialized on the worker thread in workerContextStarted and 299 // Initialized on the worker thread in workerContextStarted and
297 // destructed on the worker thread in willDestroyWorkerContext. 300 // destructed on the worker thread in willDestroyWorkerContext.
298 std::unique_ptr<WorkerContextData> context_; 301 std::unique_ptr<WorkerContextData> context_;
299 302
300 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 303 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
301 }; 304 };
302 305
303 } // namespace content 306 } // namespace content
304 307
305 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 308 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698