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

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 894853007: [ServiceWorker] Update SWProviderHost::Focus() to return a Client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sw_open_window
Patch Set: Created 5 years, 10 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 c10d27d4962db261090e0b6aff305ebcb8f97951..125cfafe917f5200c334317d673ad5a5a3c3090c 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -373,7 +373,9 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnSkipWaiting(int request_id);
void OnClaimClients(int request_id);
- void OnFocusClientFinished(int request_id, bool result);
+ void OnFocusClientFinished(int request_id,
+ int client_id,
+ const ServiceWorkerClientInfo& client);
void DidSkipWaiting(int request_id);
void DidClaimClients(int request_id, ServiceWorkerStatusCode status);

Powered by Google App Engine
This is Rietveld 408576698