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

Unified Diff: webrtc/config.cc

Issue 2986163002: Audit of kConstants missing the const qualifier (Closed)
Patch Set: rebase + constexpr Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/config.h ('k') | webrtc/media/engine/webrtcmediaengine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/config.cc
diff --git a/webrtc/config.cc b/webrtc/config.cc
index 96308da56876c35cfbf5bf4f8c9175e82810ca90..19a9a96079dc3b90b09cb12ac43fa916a7ccaf4b 100644
--- a/webrtc/config.cc
+++ b/webrtc/config.cc
@@ -49,22 +49,22 @@ std::string RtpExtension::ToString() const {
return ss.str();
}
-const char* RtpExtension::kAudioLevelUri =
+const char RtpExtension::kAudioLevelUri[] =
"urn:ietf:params:rtp-hdrext:ssrc-audio-level";
const int RtpExtension::kAudioLevelDefaultId = 1;
-const char* RtpExtension::kTimestampOffsetUri =
+const char RtpExtension::kTimestampOffsetUri[] =
"urn:ietf:params:rtp-hdrext:toffset";
const int RtpExtension::kTimestampOffsetDefaultId = 2;
-const char* RtpExtension::kAbsSendTimeUri =
+const char RtpExtension::kAbsSendTimeUri[] =
"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time";
const int RtpExtension::kAbsSendTimeDefaultId = 3;
-const char* RtpExtension::kVideoRotationUri = "urn:3gpp:video-orientation";
+const char RtpExtension::kVideoRotationUri[] = "urn:3gpp:video-orientation";
const int RtpExtension::kVideoRotationDefaultId = 4;
-const char* RtpExtension::kTransportSequenceNumberUri =
+const char RtpExtension::kTransportSequenceNumberUri[] =
"http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01";
const int RtpExtension::kTransportSequenceNumberDefaultId = 5;
@@ -72,19 +72,19 @@ const int RtpExtension::kTransportSequenceNumberDefaultId = 5;
// on frames as per the current needs. For example, a gaming application
// has very different needs on end-to-end delay compared to a video-conference
// application.
-const char* RtpExtension::kPlayoutDelayUri =
+const char RtpExtension::kPlayoutDelayUri[] =
"http://www.webrtc.org/experiments/rtp-hdrext/playout-delay";
const int RtpExtension::kPlayoutDelayDefaultId = 6;
-const char* RtpExtension::kVideoContentTypeUri =
+const char RtpExtension::kVideoContentTypeUri[] =
"http://www.webrtc.org/experiments/rtp-hdrext/video-content-type";
const int RtpExtension::kVideoContentTypeDefaultId = 7;
-const char* RtpExtension::kVideoTimingUri =
+const char RtpExtension::kVideoTimingUri[] =
"http://www.webrtc.org/experiments/rtp-hdrext/video-timing";
const int RtpExtension::kVideoTimingDefaultId = 8;
-const char* RtpExtension::kEncryptHeaderExtensionsUri =
+const char RtpExtension::kEncryptHeaderExtensionsUri[] =
"urn:ietf:params:rtp-hdrext:encrypt";
const int RtpExtension::kMinId = 1;
« no previous file with comments | « webrtc/config.h ('k') | webrtc/media/engine/webrtcmediaengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698