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

Unified Diff: chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js

Issue 2387483002: Push API: Refactor and fix unsubscribe API (Closed)
Patch Set: Added enum reuse comments Created 4 years, 3 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: chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js
diff --git a/ash/resources/vector_icons/system_menu_arrow_right.icon b/chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js
similarity index 59%
copy from ash/resources/vector_icons/system_menu_arrow_right.icon
copy to chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js
index 2dc5eacc3a79e1e4880ceaecf0c1d59e37779b57..cc10669aad36fa16e04da6256eeb2c442c6a8fc6 100644
--- a/ash/resources/vector_icons/system_menu_arrow_right.icon
+++ b/chrome/test/data/push_messaging/service_worker_with_skipWaiting_claim.js
@@ -2,9 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-CANVAS_DIMENSIONS, 40,
-MOVE_TO, 16, 28,
-R_LINE_TO, 8, -8,
-R_LINE_TO, -8, -8,
-CLOSE,
-END
+self.addEventListener('install', () => skipWaiting());
+self.addEventListener('activate', () => clients.claim());
« no previous file with comments | « chrome/test/data/push_messaging/push_test.js ('k') | components/gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698