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

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: 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); 441 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data);
442 void OnSetCachedMetadataFinished(int64 callback_id, int result); 442 void OnSetCachedMetadataFinished(int64 callback_id, int result);
443 void OnClearCachedMetadata(const GURL& url); 443 void OnClearCachedMetadata(const GURL& url);
444 void OnClearCachedMetadataFinished(int64 callback_id, int result); 444 void OnClearCachedMetadataFinished(int64 callback_id, int result);
445 445
446 void OnPostMessageToClient( 446 void OnPostMessageToClient(
447 const std::string& client_uuid, 447 const std::string& client_uuid,
448 const base::string16& message, 448 const base::string16& message,
449 const std::vector<TransferredMessagePort>& sent_message_ports); 449 const std::vector<TransferredMessagePort>& sent_message_ports);
450 void OnFocusClient(int request_id, const std::string& client_uuid); 450 void OnFocusClient(int request_id, const std::string& client_uuid);
451 void OnNavigateClient(int request_id,
452 const std::string& client_uuid,
453 const GURL& url);
454 void DidNavigateClient(int request_id,
455 int render_process_id,
456 int render_frame_id);
457 void OnNavigateClientFinished(int request_id,
458 const std::string& client_uuid,
459 const ServiceWorkerClientInfo& client);
451 void OnSkipWaiting(int request_id); 460 void OnSkipWaiting(int request_id);
452 void OnClaimClients(int request_id); 461 void OnClaimClients(int request_id);
453 void OnPongFromWorker(); 462 void OnPongFromWorker();
454 void OnStashMessagePort(int message_port_id, const base::string16& name); 463 void OnStashMessagePort(int message_port_id, const base::string16& name);
455 464
456 void OnFocusClientFinished(int request_id, 465 void OnFocusClientFinished(int request_id,
457 const std::string& client_uuid, 466 const std::string& client_uuid,
458 const ServiceWorkerClientInfo& client); 467 const ServiceWorkerClientInfo& client);
459 468
460 void DidEnsureLiveRegistrationForStartWorker( 469 void DidEnsureLiveRegistrationForStartWorker(
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 scoped_ptr<Metrics> metrics_; 600 scoped_ptr<Metrics> metrics_;
592 601
593 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; 602 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
594 603
595 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); 604 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
596 }; 605 };
597 606
598 } // namespace content 607 } // namespace content
599 608
600 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 609 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698