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

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

Issue 2394443002: ServiceWorker: Ensure that a resource list contains the main script (Closed)
Patch Set: fix tests Created 4 years, 2 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2702754c0b1c22dc4f548aba96db3c522b61787e..6141f0124414d03f8e41961d67d323e13d294de8 100644
--- a/content/browser/service_worker/service_worker_database.h
+++ b/content/browser/service_worker/service_worker_database.h
@@ -271,10 +271,10 @@ class CONTENT_EXPORT ServiceWorkerDatabase {
void WriteRegistrationDataInBatch(const RegistrationData& registration,
leveldb::WriteBatch* batch);
- // Reads resource records for |version_id| from the database. Returns OK if
+ // Reads resource records for |registration| from the database. Returns OK if
// it's successfully read or not found in the database. Otherwise, returns an
// error.
- Status ReadResourceRecords(int64_t version_id,
+ Status ReadResourceRecords(const RegistrationData& registration,
std::vector<ResourceRecord>* resources);
// Parses |serialized| as a ResourceRecord object and pushes it into |out|.
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698