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

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

Issue 164753006: Start of Chrome-side plumbing for ServiceWorker fetch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index aab6178f97271c94ccc5b46a0c2f1684712b2c18..8becde97d1f9f4ff4a0e34a38c9e395edd3461d2 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -124,7 +124,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
// This immediately returns false if the worker is not running
// or sending a message to the child process fails.
// TODO(kinuko): Make this take callback as well.
nhiroki 2014/02/14 09:03:21 Can you remove this TODO comment?
falken 2014/02/19 05:32:19 Done.
- bool DispatchFetchEvent(const ServiceWorkerFetchRequest& request);
+ void DispatchFetchEvent(const ServiceWorkerFetchRequest& request,
+ const StatusCallback& callback);
// These are expected to be called when a renderer process host for the
// same-origin as for this ServiceWorkerVersion is created. The added

Powered by Google App Engine
This is Rietveld 408576698