Index: content/browser/service_worker/service_worker_context_wrapper.h |
diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h |
index fec09d0240a24760c54236b5c53e68fadaa8f4fb..b5f5fed2418fb8a0d4d63ed74a53adf19706e6f4 100644 |
--- a/content/browser/service_worker/service_worker_context_wrapper.h |
+++ b/content/browser/service_worker/service_worker_context_wrapper.h |
@@ -154,15 +154,15 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper |
// All these methods must be called from the IO thread. |
void GetAllRegistrations(const GetRegistrationsInfosCallback& callback); |
void GetRegistrationUserData(int64_t registration_id, |
- const std::string& key, |
+ const std::vector<std::string>& keys, |
const GetUserDataCallback& callback); |
- void StoreRegistrationUserData(int64_t registration_id, |
- const GURL& origin, |
- const std::string& key, |
- const std::string& data, |
- const StatusCallback& callback); |
+ void StoreRegistrationUserData( |
+ int64_t registration_id, |
+ const GURL& origin, |
+ const std::vector<std::pair<std::string, std::string>>& key_value_pairs, |
+ const StatusCallback& callback); |
void ClearRegistrationUserData(int64_t registration_id, |
- const std::string& key, |
+ const std::vector<std::string>& keys, |
const StatusCallback& callback); |
void GetUserDataForAllRegistrations( |
const std::string& key, |