Removed the const char* (StaticString) type from RTCStatsMember.

std::string is all we need. const char* is an annoying special case
because they can't be compared with ==. Having two different string
types was a premature optimization.

BUG=chromium:627816
NOTRY=True

Review-Url: https://codereview.webrtc.org/2340303002
Cr-Commit-Position: refs/heads/master@{#14235}
This commit is contained in:
hbos
2016-09-15 06:52:43 -07:00
committed by Commit bot
parent 4ed5b9f62d
commit 8faf9e047e
3 changed files with 2 additions and 26 deletions

View File

@ -171,7 +171,6 @@ class RTCStatsMemberInterface {
kInt64, // int64_t
kUint64, // uint64_t
kDouble, // double
kStaticString, // const char*
kString, // std::string
kSequenceInt32, // std::vector<int32_t>
@ -179,7 +178,6 @@ class RTCStatsMemberInterface {
kSequenceInt64, // std::vector<int64_t>
kSequenceUint64, // std::vector<uint64_t>
kSequenceDouble, // std::vector<double>
kSequenceStaticString, // std::vector<const char*>
kSequenceString, // std::vector<std::string>
};