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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 0d97f9455cc7baa774ed07eb3ddd173f10e61c21..81538f8325a38c885be8b34a629c289eac07c5fe 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -447,6 +447,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
const base::string16& message,
const std::vector<TransferredMessagePort>& sent_message_ports);
void OnFocusClient(int request_id, const std::string& client_uuid);
+ void OnNavigateClient(int request_id,
+ const std::string& client_uuid,
+ const GURL& url);
void OnSkipWaiting(int request_id);
void OnClaimClients(int request_id);
void OnPongFromWorker();
@@ -455,6 +458,10 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnFocusClientFinished(int request_id,
const std::string& client_uuid,
const ServiceWorkerClientInfo& client);
+ void OnNavigateClientFinished(int request_id,
+ const std::string& client_uuid,
+ const GURL& url,
+ const ServiceWorkerClientInfo& client);
void DidEnsureLiveRegistrationForStartWorker(
bool pause_after_download,

Powered by Google App Engine
This is Rietveld 408576698