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

Side by Side Diff: third_party/WebKit/Source/modules/remoteplayback/AvailabilityCallbackWrapper.h

Issue 2856653003: Clean up bindings/core/v8 (Part 3) (Closed)
Patch Set: Rebase Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 AvailabilityCallbackWrapper_h 5 #ifndef AvailabilityCallbackWrapper_h
6 #define AvailabilityCallbackWrapper_h 6 #define AvailabilityCallbackWrapper_h
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "bindings/core/v8/TraceWrapperMember.h"
11 #include "platform/bindings/ScriptWrappable.h" 10 #include "platform/bindings/ScriptWrappable.h"
11 #include "platform/bindings/TraceWrapperMember.h"
12 #include "platform/heap/GarbageCollected.h" 12 #include "platform/heap/GarbageCollected.h"
13 #include "platform/wtf/Compiler.h" 13 #include "platform/wtf/Compiler.h"
14 #include "platform/wtf/Functional.h" 14 #include "platform/wtf/Functional.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class RemotePlaybackAvailabilityCallback; 18 class RemotePlaybackAvailabilityCallback;
19 class RemotePlayback; 19 class RemotePlayback;
20 20
21 // Wraps either a WTF::Closure or RemotePlaybackAvailabilityCallback object 21 // Wraps either a WTF::Closure or RemotePlaybackAvailabilityCallback object
(...skipping 15 matching lines...) Expand all
37 37
38 private: 38 private:
39 // Only one of these callbacks must be set. 39 // Only one of these callbacks must be set.
40 TraceWrapperMember<RemotePlaybackAvailabilityCallback> bindings_cb_; 40 TraceWrapperMember<RemotePlaybackAvailabilityCallback> bindings_cb_;
41 std::unique_ptr<WTF::Closure> internal_cb_; 41 std::unique_ptr<WTF::Closure> internal_cb_;
42 }; 42 };
43 43
44 } // namespace blink 44 } // namespace blink
45 45
46 #endif // AvailabilityCallbackWrapper_h 46 #endif // AvailabilityCallbackWrapper_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698