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

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

Issue 2873683002: PaymentHandler: Implement GetAllPaymentApps(). (Closed)
Patch Set: installed -> stored in public 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_database.h
diff --git a/content/browser/service_worker/service_worker_database.h b/content/browser/service_worker/service_worker_database.h
index 8eadc405fc4d598e99f45f752990012999371159..c142203eac63501c077559d1fe08ba96d6dfad69 100644
--- a/content/browser/service_worker/service_worker_database.h
+++ b/content/browser/service_worker/service_worker_database.h
@@ -224,6 +224,12 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
const std::string& user_data_name,
std::vector<std::pair<int64_t, std::string>>* user_data);
+ // Reads user data for all registrations that have data with |user_data_name|
+ // from the database. Returns OK if they are successfully read or not found.
+ Status ReadUserDataForAllRegistrationsByKeyPrefix(
+ const std::string& user_data_name_prefix,
+ std::vector<std::pair<int64_t, std::string>>* user_data);
+
// Resources should belong to one of following resource lists: uncommitted,
// committed and purgeable.
// As new resources are put into the diskcache, they go into the uncommitted

Powered by Google App Engine
This is Rietveld 408576698