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

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

Issue 2858773002: Revert of PaymentHandler: Implement PaymentInstruments.keys(). (Closed)
Patch Set: Created 3 years, 8 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_storage.h
diff --git a/content/browser/service_worker/service_worker_storage.h b/content/browser/service_worker/service_worker_storage.h
index fdf6fb5f9fcb1a3dc20421acedc61969b67611e8..d08e533094c38ffb5ca898a7e3a667c39dd14a83 100644
--- a/content/browser/service_worker/service_worker_storage.h
+++ b/content/browser/service_worker/service_worker_storage.h
@@ -181,15 +181,11 @@
// Provide a storage mechanism to read/write arbitrary data associated with
// a registration. Each registration has its own key namespace.
- // GetUserData/GetUserDataByKeyPrefix responds OK only if all keys are found;
- // otherwise NOT_FOUND, and the callback's data will be empty.
+ // GetUserData responds OK only if all keys are found; otherwise NOT_FOUND,
+ // and the callback's data will be empty.
void GetUserData(int64_t registration_id,
const std::vector<std::string>& keys,
const GetUserDataCallback& callback);
- void GetUserDataByKeyPrefix(int64_t registration_id,
- const std::string& key_prefix,
- const GetUserDataCallback& callback);
-
// Stored data is deleted when the associated registraton is deleted.
void StoreUserData(
int64_t registration_id,
@@ -503,12 +499,6 @@
int64_t registration_id,
const std::vector<std::string>& keys,
const GetUserDataInDBCallback& callback);
- static void GetUserDataByKeyPrefixInDB(
- ServiceWorkerDatabase* database,
- scoped_refptr<base::SequencedTaskRunner> original_task_runner,
- int64_t registration_id,
- const std::string& key_prefix,
- const GetUserDataInDBCallback& callback);
static void GetUserDataForAllRegistrationsInDB(
ServiceWorkerDatabase* database,
scoped_refptr<base::SequencedTaskRunner> original_task_runner,
« no previous file with comments | « content/browser/service_worker/service_worker_database.cc ('k') | content/browser/service_worker/service_worker_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698