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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 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 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/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/ScriptValue.h" 10 #include "bindings/core/v8/ScriptValue.h"
(...skipping 21 matching lines...) Expand all
32 virtual ScriptPromise pull(ScriptState*); 32 virtual ScriptPromise pull(ScriptState*);
33 33
34 ScriptPromise cancelWrapper(ScriptState*, ScriptValue reason); 34 ScriptPromise cancelWrapper(ScriptState*, ScriptValue reason);
35 virtual ScriptPromise cancel(ScriptState*, ScriptValue reason); 35 virtual ScriptPromise cancel(ScriptState*, ScriptValue reason);
36 36
37 bool hasPendingActivity() const override; 37 bool hasPendingActivity() const override;
38 void contextDestroyed() override; 38 void contextDestroyed() override;
39 39
40 protected: 40 protected:
41 explicit UnderlyingSourceBase(ScriptState* scriptState) 41 explicit UnderlyingSourceBase(ScriptState* scriptState)
42 : ContextLifecycleObserver(scriptState->executionContext()) 42 : ContextLifecycleObserver(scriptState->getExecutionContext())
43 { 43 {
44 } 44 }
45 45
46 ReadableStreamController* controller() const { return m_controller; } 46 ReadableStreamController* controller() const { return m_controller; }
47 47
48 private: 48 private:
49 Member<ReadableStreamController> m_controller; 49 Member<ReadableStreamController> m_controller;
50 }; 50 };
51 51
52 } // namespace blink 52 } // namespace blink
53 53
54 #endif // UnderlyingSourceBase_h 54 #endif // UnderlyingSourceBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698