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

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

Issue 1146913004: Service Worker: Add ServiceWorkerContainer.getRegistrations() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add database unittests for reading resources list; Rebase to ToT. 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_database.h
diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h
index 13c0ed480a2623772118475ea4c07264a302d825..a43521239015e3c4e90700a83440c843d8167e16 100644
--- a/content/browser/service_worker/service_worker_database.h
+++ b/content/browser/service_worker/service_worker_database.h
@@ -101,7 +101,8 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
// successfully read or not found. Otherwise, returns an error.
Status GetRegistrationsForOrigin(
const GURL& origin,
- std::vector<RegistrationData>* registrations);
+ std::vector<RegistrationData>* registrations,
+ std::vector<std::vector<ResourceRecord>>* opt_resources_list);
// Reads all registrations from the database. Returns OK if successfully read
// or not found. Otherwise, returns an error.

Powered by Google App Engine
This is Rietveld 408576698