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

Unified Diff: webrtc/tools/frame_analyzer/video_quality_analysis.cc

Issue 2675723002: Remove all occurrences of "using std::string". (Closed)
Patch Set: Created 3 years, 11 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
Index: webrtc/tools/frame_analyzer/video_quality_analysis.cc
diff --git a/webrtc/tools/frame_analyzer/video_quality_analysis.cc b/webrtc/tools/frame_analyzer/video_quality_analysis.cc
index dfb7d900657540ca87adc6e38e79b143a721abe6..d1b0e314e16ca50e5d06344a36915626c284d1a7 100644
--- a/webrtc/tools/frame_analyzer/video_quality_analysis.cc
+++ b/webrtc/tools/frame_analyzer/video_quality_analysis.cc
@@ -26,8 +26,6 @@
namespace webrtc {
namespace test {
-using std::string;
-
ResultsContainer::ResultsContainer() {}
ResultsContainer::~ResultsContainer() {}
@@ -44,13 +42,13 @@ int GetI420FrameSize(int width, int height) {
int ExtractFrameSequenceNumber(std::string line) {
size_t space_position = line.find(' ');
- if (space_position == string::npos) {
+ if (space_position == std::string::npos) {
return -1;
}
std::string frame = line.substr(0, space_position);
size_t underscore_position = frame.find('_');
- if (underscore_position == string::npos) {
+ if (underscore_position == std::string::npos) {
return -1;
}
std::string frame_number = frame.substr(underscore_position + 1);
@@ -60,7 +58,7 @@ int ExtractFrameSequenceNumber(std::string line) {
int ExtractDecodedFrameNumber(std::string line) {
size_t space_position = line.find(' ');
- if (space_position == string::npos) {
+ if (space_position == std::string::npos) {
return -1;
}
std::string decoded_number = line.substr(space_position + 1);
@@ -70,7 +68,7 @@ int ExtractDecodedFrameNumber(std::string line) {
bool IsThereBarcodeError(std::string line) {
size_t barcode_error_position = line.find("Barcode error");
- if (barcode_error_position != string::npos) {
+ if (barcode_error_position != std::string::npos) {
return true;
}
return false;
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc ('k') | webrtc/tools/frame_editing/frame_editing_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698