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

Side by Side Diff: Source/modules/background_sync/ServiceWorkerGlobalScopeSync.h

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing serviceWorkerRegistration.syncManager to interface tests Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebAppBannerPromptReply_h 5 #ifndef ServiceWorkerGlobalScopeSync_h
6 #define WebAppBannerPromptReply_h 6 #define ServiceWorkerGlobalScopeSync_h
7
8 #include "core/events/EventTarget.h"
7 9
8 namespace blink { 10 namespace blink {
9 11
10 enum class WebAppBannerPromptReply { 12 class ServiceWorkerGlobalScopeSync {
11 None = 0, 13 public:
12 Cancel 14 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(sync);
13 }; 15 };
14 16
15 } // namespace blink 17 } // namespace blink
16 18
17 #endif // WebAppBannerPromptReply_h 19 #endif // ServiceWorkerGlobalScopeSync_h
OLDNEW
« no previous file with comments | « Source/modules/background_sync/OWNERS ('k') | Source/modules/background_sync/ServiceWorkerGlobalScopeSync.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698