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

Side by Side Diff: Source/platform/mediastream/RTCOfferOptions.h

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue Created 6 years, 2 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
« no previous file with comments | « Source/platform/mediastream/RTCConfiguration.h ('k') | Source/platform/mhtml/ArchiveResource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 RTCOfferOptions_h 5 #ifndef RTCOfferOptions_h
6 #define RTCOfferOptions_h 6 #define RTCOfferOptions_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class RTCOfferOptions FINAL : public GarbageCollected<RTCOfferOptions> { 12 class RTCOfferOptions final : public GarbageCollected<RTCOfferOptions> {
13 public: 13 public:
14 static RTCOfferOptions* create(int32_t offerToReceiveVideo, int32_t offerToR eceiveAudio, bool voiceActivityDetection, bool iceRestart) 14 static RTCOfferOptions* create(int32_t offerToReceiveVideo, int32_t offerToR eceiveAudio, bool voiceActivityDetection, bool iceRestart)
15 { 15 {
16 return new RTCOfferOptions(offerToReceiveVideo, offerToReceiveAudio, voi ceActivityDetection, iceRestart); 16 return new RTCOfferOptions(offerToReceiveVideo, offerToReceiveAudio, voi ceActivityDetection, iceRestart);
17 } 17 }
18 18
19 int32_t offerToReceiveVideo() const { return m_offerToReceiveVideo; } 19 int32_t offerToReceiveVideo() const { return m_offerToReceiveVideo; }
20 int32_t offerToReceiveAudio() const { return m_offerToReceiveAudio; } 20 int32_t offerToReceiveAudio() const { return m_offerToReceiveAudio; }
21 bool voiceActivityDetection() const { return m_voiceActivityDetection; } 21 bool voiceActivityDetection() const { return m_voiceActivityDetection; }
22 bool iceRestart() const { return m_iceRestart; } 22 bool iceRestart() const { return m_iceRestart; }
(...skipping 11 matching lines...) Expand all
34 34
35 int32_t m_offerToReceiveVideo; 35 int32_t m_offerToReceiveVideo;
36 int32_t m_offerToReceiveAudio; 36 int32_t m_offerToReceiveAudio;
37 bool m_voiceActivityDetection; 37 bool m_voiceActivityDetection;
38 bool m_iceRestart; 38 bool m_iceRestart;
39 }; 39 };
40 40
41 } // namespace blink 41 } // namespace blink
42 42
43 #endif // RTCOfferOptions_h 43 #endif // RTCOfferOptions_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/RTCConfiguration.h ('k') | Source/platform/mhtml/ArchiveResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698