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

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

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 SyncManager_h 5 #ifndef SyncManager_h
6 #define SyncManager_h 6 #define SyncManager_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 static SyncManager* create(ServiceWorkerRegistration* registration) 22 static SyncManager* create(ServiceWorkerRegistration* registration)
23 { 23 {
24 return new SyncManager(registration); 24 return new SyncManager(registration);
25 } 25 }
26 26
27 unsigned long minAllowablePeriod(); 27 unsigned long minAllowablePeriod();
28 28
29 ScriptPromise registerFunction(ScriptState*); 29 ScriptPromise registerFunction(ScriptState*);
30 ScriptPromise registerFunction(ScriptState*, const SyncRegistrationOptions&) ; 30 ScriptPromise registerFunction(ScriptState*, const SyncRegistrationOptions&) ;
31 ScriptPromise getRegistration(blink::ScriptState*, const String&); 31 ScriptPromise getRegistration(ScriptState*, const String&);
32 ScriptPromise getRegistrations(ScriptState*); 32 ScriptPromise getRegistrations(ScriptState*);
33 ScriptPromise permissionState(ScriptState*); 33 ScriptPromise permissionState(ScriptState*);
34 34
35 DECLARE_TRACE(); 35 DECLARE_TRACE();
36 36
37 private: 37 private:
38 explicit SyncManager(ServiceWorkerRegistration*); 38 explicit SyncManager(ServiceWorkerRegistration*);
39 39
40 Member<ServiceWorkerRegistration> m_registration; 40 Member<ServiceWorkerRegistration> m_registration;
41 }; 41 };
42 42
43 } // namespace blink 43 } // namespace blink
44 44
45 #endif // SyncManager_h 45 #endif // SyncManager_h
OLDNEW
« no previous file with comments | « Source/modules/background_sync/SyncCallbacks.cpp ('k') | Source/modules/background_sync/SyncManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698