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

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

Issue 1162243003: BackgroundSync sync events need to be ExtendableEvents, content side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid race condition in sync event dispatch Created 5 years, 6 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_version.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 void OnGetClients(int request_id, 409 void OnGetClients(int request_id,
410 const ServiceWorkerClientQueryOptions& options); 410 const ServiceWorkerClientQueryOptions& options);
411 411
412 void OnActivateEventFinished(int request_id, 412 void OnActivateEventFinished(int request_id,
413 blink::WebServiceWorkerEventResult result); 413 blink::WebServiceWorkerEventResult result);
414 void OnInstallEventFinished(int request_id, 414 void OnInstallEventFinished(int request_id,
415 blink::WebServiceWorkerEventResult result); 415 blink::WebServiceWorkerEventResult result);
416 void OnFetchEventFinished(int request_id, 416 void OnFetchEventFinished(int request_id,
417 ServiceWorkerFetchEventResult result, 417 ServiceWorkerFetchEventResult result,
418 const ServiceWorkerResponse& response); 418 const ServiceWorkerResponse& response);
419 void OnSyncEventFinished(int request_id); 419 void OnSyncEventFinished(int request_id,
420 blink::WebServiceWorkerEventResult result);
420 void OnNotificationClickEventFinished(int request_id); 421 void OnNotificationClickEventFinished(int request_id);
421 void OnPushEventFinished(int request_id, 422 void OnPushEventFinished(int request_id,
422 blink::WebServiceWorkerEventResult result); 423 blink::WebServiceWorkerEventResult result);
423 void OnGeofencingEventFinished(int request_id); 424 void OnGeofencingEventFinished(int request_id);
424 void OnCrossOriginConnectEventFinished(int request_id, 425 void OnCrossOriginConnectEventFinished(int request_id,
425 bool accept_connection); 426 bool accept_connection);
426 void OnOpenWindow(int request_id, GURL url); 427 void OnOpenWindow(int request_id, GURL url);
427 void DidOpenWindow(int request_id, 428 void DidOpenWindow(int request_id,
428 int render_process_id, 429 int render_process_id,
429 int render_frame_id); 430 int render_frame_id);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 scoped_ptr<Metrics> metrics_; 569 scoped_ptr<Metrics> metrics_;
569 570
570 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; 571 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
571 572
572 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); 573 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
573 }; 574 };
574 575
575 } // namespace content 576 } // namespace content
576 577
577 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 578 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698