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

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

Issue 649203005: [ServiceWorkerCache] Put should replace an existing entry to meet spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@staticize
Patch Set: Reapply patchset 5 (lost in rebase) Created 6 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_cache.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_cache.h
diff --git a/content/browser/service_worker/service_worker_cache.h b/content/browser/service_worker/service_worker_cache.h
index 867fb3f54543559db78ee748b4ac42c19d302bea..144809724f03facc6ed42cb21a5aa0e6e8d32acb 100644
--- a/content/browser/service_worker/service_worker_cache.h
+++ b/content/browser/service_worker/service_worker_cache.h
@@ -118,6 +118,8 @@ class CONTENT_EXPORT ServiceWorkerCache
// Put callbacks.
static void PutImpl(scoped_ptr<PutContext> put_context);
+ static void PutDidDelete(scoped_ptr<PutContext> put_context,
+ ErrorType delete_error);
static void PutDidCreateEntry(scoped_ptr<PutContext> put_context, int rv);
static void PutDidWriteHeaders(scoped_ptr<PutContext> put_context,
int expected_bytes,
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698