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

Unified Diff: webrtc/stats/rtcstats_objects.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/rtc_base/sslroots.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/stats/rtcstats_objects.cc
diff --git a/webrtc/stats/rtcstats_objects.cc b/webrtc/stats/rtcstats_objects.cc
index bd8e9cd30c65b5ec072224cdd8af808d00a9b5cb..f24fd66fcf6707b81ee6c7656fd8ad4d9a26fbc9 100644
--- a/webrtc/stats/rtcstats_objects.cc
+++ b/webrtc/stats/rtcstats_objects.cc
@@ -12,31 +12,31 @@
namespace webrtc {
-const char* RTCDataChannelState::kConnecting = "connecting";
-const char* RTCDataChannelState::kOpen = "open";
-const char* RTCDataChannelState::kClosing = "closing";
-const char* RTCDataChannelState::kClosed = "closed";
+const char* const RTCDataChannelState::kConnecting = "connecting";
+const char* const RTCDataChannelState::kOpen = "open";
+const char* const RTCDataChannelState::kClosing = "closing";
+const char* const RTCDataChannelState::kClosed = "closed";
-const char* RTCStatsIceCandidatePairState::kFrozen = "frozen";
-const char* RTCStatsIceCandidatePairState::kWaiting = "waiting";
-const char* RTCStatsIceCandidatePairState::kInProgress = "in-progress";
-const char* RTCStatsIceCandidatePairState::kFailed = "failed";
-const char* RTCStatsIceCandidatePairState::kSucceeded = "succeeded";
+const char* const RTCStatsIceCandidatePairState::kFrozen = "frozen";
+const char* const RTCStatsIceCandidatePairState::kWaiting = "waiting";
+const char* const RTCStatsIceCandidatePairState::kInProgress = "in-progress";
+const char* const RTCStatsIceCandidatePairState::kFailed = "failed";
+const char* const RTCStatsIceCandidatePairState::kSucceeded = "succeeded";
// Strings defined in https://tools.ietf.org/html/rfc5245.
-const char* RTCIceCandidateType::kHost = "host";
-const char* RTCIceCandidateType::kSrflx = "srflx";
-const char* RTCIceCandidateType::kPrflx = "prflx";
-const char* RTCIceCandidateType::kRelay = "relay";
-
-const char* RTCDtlsTransportState::kNew = "new";
-const char* RTCDtlsTransportState::kConnecting = "connecting";
-const char* RTCDtlsTransportState::kConnected = "connected";
-const char* RTCDtlsTransportState::kClosed = "closed";
-const char* RTCDtlsTransportState::kFailed = "failed";
-
-const char* RTCMediaStreamTrackKind::kAudio = "audio";
-const char* RTCMediaStreamTrackKind::kVideo = "video";
+const char* const RTCIceCandidateType::kHost = "host";
+const char* const RTCIceCandidateType::kSrflx = "srflx";
+const char* const RTCIceCandidateType::kPrflx = "prflx";
+const char* const RTCIceCandidateType::kRelay = "relay";
+
+const char* const RTCDtlsTransportState::kNew = "new";
+const char* const RTCDtlsTransportState::kConnecting = "connecting";
+const char* const RTCDtlsTransportState::kConnected = "connected";
+const char* const RTCDtlsTransportState::kClosed = "closed";
+const char* const RTCDtlsTransportState::kFailed = "failed";
+
+const char* const RTCMediaStreamTrackKind::kAudio = "audio";
+const char* const RTCMediaStreamTrackKind::kVideo = "video";
WEBRTC_RTCSTATS_IMPL(RTCCertificateStats, RTCStats, "certificate",
&fingerprint,
« no previous file with comments | « webrtc/rtc_base/sslroots.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698