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

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

Issue 2905593002: Clients.matchAll() should return ordered clients by type/focus time/creation time (Closed)
Patch Set: Address shimazu's comments #31 and fix the test failure Created 3 years, 7 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 917fe64bf6a7e3eb4836136bace13309dd57bb6c..78be509688c6cad7585b0372e5b46cbad0465bbb 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -633,7 +633,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnGetClientFinished(int request_id,
const ServiceWorkerClientInfo& client_info);
- void OnGetClientsFinished(int request_id, ServiceWorkerClients* clients);
+ void OnGetClientsFinished(int request_id,
+ std::unique_ptr<ServiceWorkerClients> clients);
// The timeout timer periodically calls OnTimeoutTimer, which stops the worker
// if it is excessively idle or unresponsive to ping.

Powered by Google App Engine
This is Rietveld 408576698