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

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

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED Created 4 years, 2 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 int request_id, 218 int request_id,
219 const ServiceWorkerMsg_ExtendableMessageEvent_Params& params); 219 const ServiceWorkerMsg_ExtendableMessageEvent_Params& params);
220 void OnInstallEvent(int request_id); 220 void OnInstallEvent(int request_id);
221 void DispatchFetchEvent(int response_id, 221 void DispatchFetchEvent(int response_id,
222 const ServiceWorkerFetchRequest& request, 222 const ServiceWorkerFetchRequest& request,
223 const FetchCallback& callback); 223 const FetchCallback& callback);
224 void OnNotificationClickEvent( 224 void OnNotificationClickEvent(
225 int request_id, 225 int request_id,
226 const std::string& notification_id, 226 const std::string& notification_id,
227 const PlatformNotificationData& notification_data, 227 const PlatformNotificationData& notification_data,
228 int action_index); 228 int action_index,
229 const base::NullableString16& reply);
229 void OnPushEvent(int request_id, const PushEventPayload& payload); 230 void OnPushEvent(int request_id, const PushEventPayload& payload);
230 void OnNotificationCloseEvent( 231 void OnNotificationCloseEvent(
231 int request_id, 232 int request_id,
232 const std::string& notification_id, 233 const std::string& notification_id,
233 const PlatformNotificationData& notification_data); 234 const PlatformNotificationData& notification_data);
234 235
235 void OnDidGetClient(int request_id, const ServiceWorkerClientInfo& client); 236 void OnDidGetClient(int request_id, const ServiceWorkerClientInfo& client);
236 void OnDidGetClients( 237 void OnDidGetClients(
237 int request_id, const std::vector<ServiceWorkerClientInfo>& clients); 238 int request_id, const std::vector<ServiceWorkerClientInfo>& clients);
238 void OnOpenWindowResponse(int request_id, 239 void OnOpenWindowResponse(int request_id,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // Initialized on the worker thread in workerContextStarted and 273 // Initialized on the worker thread in workerContextStarted and
273 // destructed on the worker thread in willDestroyWorkerContext. 274 // destructed on the worker thread in willDestroyWorkerContext.
274 std::unique_ptr<WorkerContextData> context_; 275 std::unique_ptr<WorkerContextData> context_;
275 276
276 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 277 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
277 }; 278 };
278 279
279 } // namespace content 280 } // namespace content
280 281
281 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 282 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698