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

Side by Side Diff: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 UnderlyingSourceBase_h 5 #ifndef UnderlyingSourceBase_h
6 #define UnderlyingSourceBase_h 6 #define UnderlyingSourceBase_h
7 7
8 #include "bindings/core/v8/ActiveScriptWrappable.h"
9 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
11 #include "bindings/core/v8/ScriptValue.h" 10 #include "bindings/core/v8/ScriptValue.h"
12 #include "bindings/core/v8/ScriptWrappable.h" 11 #include "bindings/core/v8/ScriptWrappable.h"
13 #include "core/CoreExport.h" 12 #include "core/CoreExport.h"
14 #include "core/dom/ContextLifecycleObserver.h" 13 #include "core/dom/ContextLifecycleObserver.h"
15 #include "core/dom/ExecutionContext.h" 14 #include "core/dom/ExecutionContext.h"
15 #include "platform/bindings/ActiveScriptWrappable.h"
16 #include "platform/heap/GarbageCollected.h" 16 #include "platform/heap/GarbageCollected.h"
17 #include "platform/heap/Handle.h" 17 #include "platform/heap/Handle.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
21 class ReadableStreamController; 21 class ReadableStreamController;
22 22
23 class CORE_EXPORT UnderlyingSourceBase 23 class CORE_EXPORT UnderlyingSourceBase
24 : public GarbageCollectedFinalized<UnderlyingSourceBase>, 24 : public GarbageCollectedFinalized<UnderlyingSourceBase>,
25 public ScriptWrappable, 25 public ScriptWrappable,
(...skipping 30 matching lines...) Expand all
56 ReadableStreamController* Controller() const { return controller_; } 56 ReadableStreamController* Controller() const { return controller_; }
57 57
58 private: 58 private:
59 Member<ReadableStreamController> controller_; 59 Member<ReadableStreamController> controller_;
60 bool is_stream_locked_ = false; 60 bool is_stream_locked_ = false;
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // UnderlyingSourceBase_h 65 #endif // UnderlyingSourceBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698