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

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

Issue 2665583002: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. (Closed)
Patch Set: android 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 const ServiceWorkerFetchRequest& request, 216 const ServiceWorkerFetchRequest& request,
217 mojom::FetchEventPreloadHandlePtr preload_handle, 217 mojom::FetchEventPreloadHandlePtr preload_handle,
218 const DispatchFetchEventCallback& callback) override; 218 const DispatchFetchEventCallback& callback) override;
219 void DispatchPushEvent(const PushEventPayload& payload, 219 void DispatchPushEvent(const PushEventPayload& payload,
220 const DispatchPushEventCallback& callback) override; 220 const DispatchPushEventCallback& callback) override;
221 void DispatchSyncEvent( 221 void DispatchSyncEvent(
222 const std::string& tag, 222 const std::string& tag,
223 blink::mojom::BackgroundSyncEventLastChance last_chance, 223 blink::mojom::BackgroundSyncEventLastChance last_chance,
224 const DispatchSyncEventCallback& callback) override; 224 const DispatchSyncEventCallback& callback) override;
225 void DispatchPaymentRequestEvent( 225 void DispatchPaymentRequestEvent(
226 payments::mojom::PaymentAppRequestDataPtr data, 226 payments::mojom::PaymentAppRequestPtr appRequest,
jam 2017/01/30 18:05:01 ditto
jam 2017/01/30 18:05:01 ditto
227 const DispatchPaymentRequestEventCallback& callback) override; 227 const DispatchPaymentRequestEventCallback& callback) override;
228 228
229 void OnActivateEvent(int request_id); 229 void OnActivateEvent(int request_id);
230 void OnInstallEvent(int request_id); 230 void OnInstallEvent(int request_id);
231 void OnNotificationClickEvent( 231 void OnNotificationClickEvent(
232 int request_id, 232 int request_id,
233 const std::string& notification_id, 233 const std::string& notification_id,
234 const PlatformNotificationData& notification_data, 234 const PlatformNotificationData& notification_data,
235 int action_index, 235 int action_index,
236 const base::NullableString16& reply); 236 const base::NullableString16& reply);
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // Initialized on the worker thread in workerContextStarted and 296 // Initialized on the worker thread in workerContextStarted and
297 // destructed on the worker thread in willDestroyWorkerContext. 297 // destructed on the worker thread in willDestroyWorkerContext.
298 std::unique_ptr<WorkerContextData> context_; 298 std::unique_ptr<WorkerContextData> context_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 300 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
301 }; 301 };
302 302
303 } // namespace content 303 } // namespace content
304 304
305 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 305 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698