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

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

Issue 1202453002: ServiceWorker: Implement navigate() method in WindowClient (chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); 451 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data);
452 void OnSetCachedMetadataFinished(int64 callback_id, int result); 452 void OnSetCachedMetadataFinished(int64 callback_id, int result);
453 void OnClearCachedMetadata(const GURL& url); 453 void OnClearCachedMetadata(const GURL& url);
454 void OnClearCachedMetadataFinished(int64 callback_id, int result); 454 void OnClearCachedMetadataFinished(int64 callback_id, int result);
455 455
456 void OnPostMessageToClient( 456 void OnPostMessageToClient(
457 const std::string& client_uuid, 457 const std::string& client_uuid,
458 const base::string16& message, 458 const base::string16& message,
459 const std::vector<TransferredMessagePort>& sent_message_ports); 459 const std::vector<TransferredMessagePort>& sent_message_ports);
460 void OnFocusClient(int request_id, const std::string& client_uuid); 460 void OnFocusClient(int request_id, const std::string& client_uuid);
461 void OnNavigateClient(int request_id,
462 const std::string& client_uuid,
463 const GURL& url);
464 void DidNavigateClient(int request_id,
465 int render_process_id,
466 int render_frame_id);
467 void OnNavigateClientFinished(int request_id,
468 const std::string& client_uuid,
469 const ServiceWorkerClientInfo& client);
461 void OnSkipWaiting(int request_id); 470 void OnSkipWaiting(int request_id);
462 void OnClaimClients(int request_id); 471 void OnClaimClients(int request_id);
463 void OnPongFromWorker(); 472 void OnPongFromWorker();
464 void OnStashMessagePort(int message_port_id, const base::string16& name); 473 void OnStashMessagePort(int message_port_id, const base::string16& name);
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(
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 scoped_ptr<Metrics> metrics_; 612 scoped_ptr<Metrics> metrics_;
604 613
605 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; 614 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
606 615
607 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); 616 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
608 }; 617 };
609 618
610 } // namespace content 619 } // namespace content
611 620
612 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 621 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698