| 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |