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

Side by Side Diff: content/browser/service_worker/service_worker_version.h

Issue 1171173002: [Background Sync] Use Mojo IPC to fire background sync events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove Chromium IPC for Sync from unit tests' Created 5 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 void OnGetClients(int request_id, 422 void OnGetClients(int request_id,
423 const ServiceWorkerClientQueryOptions& options); 423 const ServiceWorkerClientQueryOptions& options);
424 424
425 void OnActivateEventFinished(int request_id, 425 void OnActivateEventFinished(int request_id,
426 blink::WebServiceWorkerEventResult result); 426 blink::WebServiceWorkerEventResult result);
427 void OnInstallEventFinished(int request_id, 427 void OnInstallEventFinished(int request_id,
428 blink::WebServiceWorkerEventResult result); 428 blink::WebServiceWorkerEventResult result);
429 void OnFetchEventFinished(int request_id, 429 void OnFetchEventFinished(int request_id,
430 ServiceWorkerFetchEventResult result, 430 ServiceWorkerFetchEventResult result,
431 const ServiceWorkerResponse& response); 431 const ServiceWorkerResponse& response);
432 void OnSyncEventFinished(int request_id, 432 void OnSyncEventFinished(int request_id, ServiceWorkerStatusCode status);
433 blink::WebServiceWorkerEventResult result);
434 void OnNotificationClickEventFinished(int request_id); 433 void OnNotificationClickEventFinished(int request_id);
435 void OnPushEventFinished(int request_id, 434 void OnPushEventFinished(int request_id,
436 blink::WebServiceWorkerEventResult result); 435 blink::WebServiceWorkerEventResult result);
437 void OnGeofencingEventFinished(int request_id); 436 void OnGeofencingEventFinished(int request_id);
438 void OnCrossOriginConnectEventFinished(int request_id, 437 void OnCrossOriginConnectEventFinished(int request_id,
439 bool accept_connection); 438 bool accept_connection);
440 void OnOpenWindow(int request_id, GURL url); 439 void OnOpenWindow(int request_id, GURL url);
441 void DidOpenWindow(int request_id, 440 void DidOpenWindow(int request_id,
442 int render_process_id, 441 int render_process_id,
443 int render_frame_id); 442 int render_frame_id);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 scoped_ptr<Metrics> metrics_; 598 scoped_ptr<Metrics> metrics_;
600 599
601 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; 600 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
602 601
603 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); 602 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
604 }; 603 };
605 604
606 } // namespace content 605 } // namespace content
607 606
608 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 607 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698