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

Side by Side Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy 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 /* 1 /*
2 * Copyright (C) 2011 Ericsson AB. All rights reserved. 2 * Copyright (C) 2011 Ericsson AB. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 StreamType type() const { return m_type; } 76 StreamType type() const { return m_type; }
77 const String& name() const { return m_name; } 77 const String& name() const { return m_name; }
78 bool remote() const { return m_remote; } 78 bool remote() const { return m_remote; }
79 bool readonly() const { return m_readonly; } 79 bool readonly() const { return m_readonly; }
80 80
81 void setReadyState(ReadyState); 81 void setReadyState(ReadyState);
82 ReadyState getReadyState() const { return m_readyState; } 82 ReadyState getReadyState() const { return m_readyState; }
83 83
84 void addObserver(Observer*); 84 void addObserver(Observer*);
85 85
86 ExtraData* extraData() const { return m_extraData.get(); } 86 ExtraData* getExtraData() const { return m_extraData.get(); }
87 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = std::move (extraData); } 87 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = std::move (extraData); }
88 88
89 void setConstraints(WebMediaConstraints constraints) { m_constraints = const raints; } 89 void setConstraints(WebMediaConstraints constraints) { m_constraints = const raints; }
90 WebMediaConstraints constraints() { return m_constraints; } 90 WebMediaConstraints constraints() { return m_constraints; }
91 91
92 void setAudioFormat(size_t numberOfChannels, float sampleRate); 92 void setAudioFormat(size_t numberOfChannels, float sampleRate);
93 void consumeAudio(AudioBus*, size_t numberOfFrames); 93 void consumeAudio(AudioBus*, size_t numberOfFrames);
94 94
95 bool requiresAudioConsumer() const { return m_requiresConsumer; } 95 bool requiresAudioConsumer() const { return m_requiresConsumer; }
96 void addAudioConsumer(AudioDestinationConsumer*); 96 void addAudioConsumer(AudioDestinationConsumer*);
(...skipping 20 matching lines...) Expand all
117 HeapHashSet<Member<AudioDestinationConsumer>> m_audioConsumers; 117 HeapHashSet<Member<AudioDestinationConsumer>> m_audioConsumers;
118 OwnPtr<ExtraData> m_extraData; 118 OwnPtr<ExtraData> m_extraData;
119 WebMediaConstraints m_constraints; 119 WebMediaConstraints m_constraints;
120 }; 120 };
121 121
122 typedef HeapVector<Member<MediaStreamSource>> MediaStreamSourceVector; 122 typedef HeapVector<Member<MediaStreamSource>> MediaStreamSourceVector;
123 123
124 } // namespace blink 124 } // namespace blink
125 125
126 #endif // MediaStreamSource_h 126 #endif // MediaStreamSource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698