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

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: Remembering how ASCII works 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 AccessControlStatus_h 5 #ifndef ServiceWorkerGlobalScopeSync_h
6 #define AccessControlStatus_h 6 #define ServiceWorkerGlobalScopeSync_h
7
8 #include "core/events/EventTarget.h"
7 9
8 namespace blink { 10 namespace blink {
9 11
10 enum AccessControlStatus { 12 class ServiceWorkerGlobalScopeSync {
11 NotSharableCrossOrigin, 13 public:
12 SharableCrossOrigin 14 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(sync);
13 }; 15 };
14 16
15 } // namespace blink 17 } // namespace blink
16 18
17 #endif // AccessControlStatus_h 19 #endif // ServiceWorkerGlobalScopeSync_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698