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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); | 452 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); |
453 void OnSetCachedMetadataFinished(int64 callback_id, int result); | 453 void OnSetCachedMetadataFinished(int64 callback_id, int result); |
454 void OnClearCachedMetadata(const GURL& url); | 454 void OnClearCachedMetadata(const GURL& url); |
455 void OnClearCachedMetadataFinished(int64 callback_id, int result); | 455 void OnClearCachedMetadataFinished(int64 callback_id, int result); |
456 | 456 |
457 void OnPostMessageToClient( | 457 void OnPostMessageToClient( |
458 const std::string& client_uuid, | 458 const std::string& client_uuid, |
459 const base::string16& message, | 459 const base::string16& message, |
460 const std::vector<TransferredMessagePort>& sent_message_ports); | 460 const std::vector<TransferredMessagePort>& sent_message_ports); |
461 void OnFocusClient(int request_id, const std::string& client_uuid); | 461 void OnFocusClient(int request_id, const std::string& client_uuid); |
| 462 void OnNavigateClient(int request_id, |
| 463 const std::string& client_uuid, |
| 464 const GURL& url); |
| 465 void DidNavigateClient(int request_id, |
| 466 int render_process_id, |
| 467 int render_frame_id); |
| 468 void OnNavigateClientFinished(int request_id, |
| 469 const std::string& client_uuid, |
| 470 const ServiceWorkerClientInfo& client); |
462 void OnSkipWaiting(int request_id); | 471 void OnSkipWaiting(int request_id); |
463 void OnClaimClients(int request_id); | 472 void OnClaimClients(int request_id); |
464 void OnPongFromWorker(); | 473 void OnPongFromWorker(); |
465 | 474 |
466 void OnFocusClientFinished(int request_id, | 475 void OnFocusClientFinished(int request_id, |
467 const std::string& client_uuid, | 476 const std::string& client_uuid, |
468 const ServiceWorkerClientInfo& client); | 477 const ServiceWorkerClientInfo& client); |
469 | 478 |
470 void DidEnsureLiveRegistrationForStartWorker( | 479 void DidEnsureLiveRegistrationForStartWorker( |
471 const StatusCallback& callback, | 480 const StatusCallback& callback, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 scoped_ptr<Metrics> metrics_; | 623 scoped_ptr<Metrics> metrics_; |
615 | 624 |
616 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; | 625 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |
617 | 626 |
618 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); | 627 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); |
619 }; | 628 }; |
620 | 629 |
621 } // namespace content | 630 } // namespace content |
622 | 631 |
623 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 632 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
OLD | NEW |