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

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

Issue 2522553003: Mojo C++ bindings: switch WebKit mojom targets to use STL/WTF types. (Closed)
Patch Set: . Created 4 years 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 "public/platform/modules/background_sync/background_sync.mojom-blink.h" 10 #include "public/platform/modules/background_sync/background_sync.mojom-blink.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // is called. 42 // is called.
43 const mojom::blink::BackgroundSyncServicePtr& getBackgroundSyncServicePtr(); 43 const mojom::blink::BackgroundSyncServicePtr& getBackgroundSyncServicePtr();
44 44
45 // Callbacks 45 // Callbacks
46 static void registerCallback(ScriptPromiseResolver*, 46 static void registerCallback(ScriptPromiseResolver*,
47 mojom::blink::BackgroundSyncError, 47 mojom::blink::BackgroundSyncError,
48 mojom::blink::SyncRegistrationPtr options); 48 mojom::blink::SyncRegistrationPtr options);
49 static void getRegistrationsCallback( 49 static void getRegistrationsCallback(
50 ScriptPromiseResolver*, 50 ScriptPromiseResolver*,
51 mojom::blink::BackgroundSyncError, 51 mojom::blink::BackgroundSyncError,
52 mojo::WTFArray<mojom::blink::SyncRegistrationPtr> registrations); 52 WTF::Vector<mojom::blink::SyncRegistrationPtr> registrations);
53 53
54 Member<ServiceWorkerRegistration> m_registration; 54 Member<ServiceWorkerRegistration> m_registration;
55 mojom::blink::BackgroundSyncServicePtr m_backgroundSyncService; 55 mojom::blink::BackgroundSyncServicePtr m_backgroundSyncService;
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // SyncManager_h 60 #endif // SyncManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698