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

Unified Diff: content/browser/resources/service_worker/serviceworker_internals.js

Issue 205033002: Browser side of new ServiceWorker 'sync' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kinuko comments Created 6 years, 9 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/resources/service_worker/serviceworker_internals.js
diff --git a/content/browser/resources/service_worker/serviceworker_internals.js b/content/browser/resources/service_worker/serviceworker_internals.js
index cacbd9c58cc6706dd13904b49ad4286214215331..0ce30eff81faf909bd11e98b786a0ad4f84cdd0b 100644
--- a/content/browser/resources/service_worker/serviceworker_internals.js
+++ b/content/browser/resources/service_worker/serviceworker_internals.js
@@ -15,7 +15,7 @@ cr.define('serviceworker', function() {
// All commands are sent with the partition_path and scope, and
// are all completed with 'onOperationComplete'.
- var COMMANDS = ['unregister', 'start', 'stop'];
+ var COMMANDS = ['unregister', 'start', 'stop', 'sync'];
function commandHandler(command) {
return function(event) {
var link = event.target;

Powered by Google App Engine
This is Rietveld 408576698