| OLD | NEW |
| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 void OnGetClients(int request_id, | 421 void OnGetClients(int request_id, |
| 422 const ServiceWorkerClientQueryOptions& options); | 422 const ServiceWorkerClientQueryOptions& options); |
| 423 | 423 |
| 424 void OnActivateEventFinished(int request_id, | 424 void OnActivateEventFinished(int request_id, |
| 425 blink::WebServiceWorkerEventResult result); | 425 blink::WebServiceWorkerEventResult result); |
| 426 void OnInstallEventFinished(int request_id, | 426 void OnInstallEventFinished(int request_id, |
| 427 blink::WebServiceWorkerEventResult result); | 427 blink::WebServiceWorkerEventResult result); |
| 428 void OnFetchEventFinished(int request_id, | 428 void OnFetchEventFinished(int request_id, |
| 429 ServiceWorkerFetchEventResult result, | 429 ServiceWorkerFetchEventResult result, |
| 430 const ServiceWorkerResponse& response); | 430 const ServiceWorkerResponse& response); |
| 431 void OnSyncEventFinished(int request_id, | 431 void OnSyncEventFinished(int request_id, ServiceWorkerStatusCode status); |
| 432 blink::WebServiceWorkerEventResult result); | |
| 433 void OnNotificationClickEventFinished(int request_id); | 432 void OnNotificationClickEventFinished(int request_id); |
| 434 void OnPushEventFinished(int request_id, | 433 void OnPushEventFinished(int request_id, |
| 435 blink::WebServiceWorkerEventResult result); | 434 blink::WebServiceWorkerEventResult result); |
| 436 void OnGeofencingEventFinished(int request_id); | 435 void OnGeofencingEventFinished(int request_id); |
| 437 void OnCrossOriginConnectEventFinished(int request_id, | 436 void OnCrossOriginConnectEventFinished(int request_id, |
| 438 bool accept_connection); | 437 bool accept_connection); |
| 439 void OnOpenWindow(int request_id, GURL url); | 438 void OnOpenWindow(int request_id, GURL url); |
| 440 void DidOpenWindow(int request_id, | 439 void DidOpenWindow(int request_id, |
| 441 int render_process_id, | 440 int render_process_id, |
| 442 int render_frame_id); | 441 int render_frame_id); |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 scoped_ptr<Metrics> metrics_; | 593 scoped_ptr<Metrics> metrics_; |
| 595 | 594 |
| 596 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; | 595 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |
| 597 | 596 |
| 598 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); | 597 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); |
| 599 }; | 598 }; |
| 600 | 599 |
| 601 } // namespace content | 600 } // namespace content |
| 602 | 601 |
| 603 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 602 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
| OLD | NEW |