| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2014 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 case kStatsValueNameComponent: | 449 case kStatsValueNameComponent: |
| 450 return "googComponent"; | 450 return "googComponent"; |
| 451 case kStatsValueNameContentName: | 451 case kStatsValueNameContentName: |
| 452 return "googContentName"; | 452 return "googContentName"; |
| 453 case kStatsValueNameCpuLimitedResolution: | 453 case kStatsValueNameCpuLimitedResolution: |
| 454 return "googCpuLimitedResolution"; | 454 return "googCpuLimitedResolution"; |
| 455 case kStatsValueNameDecodingCTSG: | 455 case kStatsValueNameDecodingCTSG: |
| 456 return "googDecodingCTSG"; | 456 return "googDecodingCTSG"; |
| 457 case kStatsValueNameDecodingCTN: | 457 case kStatsValueNameDecodingCTN: |
| 458 return "googDecodingCTN"; | 458 return "googDecodingCTN"; |
| 459 case kStatsValueNameDecodingMutedOutput: |
| 460 return "googDecodingMuted"; |
| 459 case kStatsValueNameDecodingNormal: | 461 case kStatsValueNameDecodingNormal: |
| 460 return "googDecodingNormal"; | 462 return "googDecodingNormal"; |
| 461 case kStatsValueNameDecodingPLC: | 463 case kStatsValueNameDecodingPLC: |
| 462 return "googDecodingPLC"; | 464 return "googDecodingPLC"; |
| 463 case kStatsValueNameDecodingCNG: | 465 case kStatsValueNameDecodingCNG: |
| 464 return "googDecodingCNG"; | 466 return "googDecodingCNG"; |
| 465 case kStatsValueNameDecodingPLCCNG: | 467 case kStatsValueNameDecodingPLCCNG: |
| 466 return "googDecodingPLCCNG"; | 468 return "googDecodingPLCCNG"; |
| 467 case kStatsValueNameDer: | 469 case kStatsValueNameDer: |
| 468 return "googDerBase64"; | 470 return "googDerBase64"; |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 // Looks for a report with the given |id|. If one is not found, NULL | 772 // Looks for a report with the given |id|. If one is not found, NULL |
| 771 // will be returned. | 773 // will be returned. |
| 772 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { | 774 StatsReport* StatsCollection::Find(const StatsReport::Id& id) { |
| 773 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 775 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 774 Container::iterator it = std::find_if(list_.begin(), list_.end(), | 776 Container::iterator it = std::find_if(list_.begin(), list_.end(), |
| 775 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); | 777 [&id](const StatsReport* r)->bool { return r->id()->Equals(id); }); |
| 776 return it == list_.end() ? nullptr : *it; | 778 return it == list_.end() ? nullptr : *it; |
| 777 } | 779 } |
| 778 | 780 |
| 779 } // namespace webrtc | 781 } // namespace webrtc |
| OLD | NEW |