Remove all occurrences of "using std::string".

BUG=webrtc:7104
NOTRY=True

Review-Url: https://codereview.webrtc.org/2675723002
Cr-Commit-Position: refs/heads/master@{#16418}
diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc b/webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc
index fdbe39c..1c6d2ca 100644
--- a/webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc
@@ -18,7 +18,6 @@
 
 using google::RegisterFlagValidator;
 using google::ParseCommandLineFlags;
-using std::string;
 using testing::InitGoogleTest;
 
 namespace webrtc {
diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc b/webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc
index 62bfc1b..8506e32 100644
--- a/webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc
@@ -13,7 +13,6 @@
 
 using google::RegisterFlagValidator;
 using google::ParseCommandLineFlags;
-using std::string;
 using testing::InitGoogleTest;
 
 namespace webrtc {
diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc b/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
index a6117a4..eac8476 100644
--- a/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
@@ -14,7 +14,6 @@
 
 using google::RegisterFlagValidator;
 using google::ParseCommandLineFlags;
-using std::string;
 using testing::InitGoogleTest;
 
 namespace webrtc {
diff --git a/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc b/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc
index 8c7e5b7..27350ab 100644
--- a/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc
@@ -18,7 +18,6 @@
 
 using google::RegisterFlagValidator;
 using google::ParseCommandLineFlags;
-using std::string;
 using testing::InitGoogleTest;
 
 namespace webrtc {
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
index eee586d..0b4edc6 100644
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc
@@ -18,8 +18,6 @@
 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h"
 #include "webrtc/test/testsupport/fileutils.h"
 
-using std::string;
-
 namespace webrtc {
 namespace test {
 
@@ -29,7 +27,7 @@
 const int kPacketLossTimeUnitMs = 10;
 
 // Common validator for file names.
-static bool ValidateFilename(const string& value, bool write) {
+static bool ValidateFilename(const std::string& value, bool write) {
   FILE* fid = write ? fopen(value.c_str(), "wb") : fopen(value.c_str(), "rb");
   if (fid == nullptr)
     return false;
@@ -38,7 +36,7 @@
 }
 
 // Define switch for input file name.
-static bool ValidateInFilename(const char* flagname, const string& value) {
+static bool ValidateInFilename(const char* flagname, const std::string& value) {
   if (!ValidateFilename(value, false)) {
     printf("Invalid input filename.");
     return false;
@@ -82,7 +80,8 @@
     RegisterFlagValidator(&FLAGS_channels, &ValidateChannels);
 
 // Define switch for output file name.
-static bool ValidateOutFilename(const char* flagname, const string& value) {
+static bool ValidateOutFilename(const char* flagname,
+                                const std::string& value) {
   if (!ValidateFilename(value, true)) {
     printf("Invalid output filename.");
     return false;
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
index a486bce..37c2d04 100644
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc
@@ -24,8 +24,6 @@
 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h"
 #include "webrtc/test/testsupport/fileutils.h"
 
-using std::string;
-
 namespace webrtc {
 namespace testing {
 namespace bwe {
diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
index 4071110..13959fc 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc
@@ -22,7 +22,6 @@
 #include "webrtc/system_wrappers/include/clock.h"
 #include "webrtc/test/testsupport/perf_test.h"
 
-using std::string;
 using std::vector;
 
 namespace webrtc {
@@ -113,8 +112,9 @@
 void BweTest::SetUp() {
   const ::testing::TestInfo* const test_info =
       ::testing::UnitTest::GetInstance()->current_test_info();
-  string test_name =
-      string(test_info->test_case_name()) + "_" + string(test_info->name());
+  std::string test_name =
+      std::string(test_info->test_case_name()) + "_" +
+      std::string(test_info->name());
   BWE_TEST_LOGGING_GLOBAL_CONTEXT(test_name);
   BWE_TEST_LOGGING_GLOBAL_ENABLE(false);
 }
@@ -181,10 +181,10 @@
   }
 }
 
-string BweTest::GetTestName() const {
+std::string BweTest::GetTestName() const {
   const ::testing::TestInfo* const test_info =
       ::testing::UnitTest::GetInstance()->current_test_info();
-  return string(test_info->name());
+  return std::string(test_info->name());
 }
 
 void BweTest::PrintResults(double max_throughput_kbps,
diff --git a/webrtc/tools/frame_analyzer/video_quality_analysis.cc b/webrtc/tools/frame_analyzer/video_quality_analysis.cc
index dfb7d90..d1b0e31 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 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 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 @@
 
 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;
diff --git a/webrtc/tools/frame_editing/frame_editing_lib.cc b/webrtc/tools/frame_editing/frame_editing_lib.cc
index bb6a75e..f68dc1f 100644
--- a/webrtc/tools/frame_editing/frame_editing_lib.cc
+++ b/webrtc/tools/frame_editing/frame_editing_lib.cc
@@ -18,13 +18,11 @@
 #include "webrtc/tools/frame_editing/frame_editing_lib.h"
 #include "webrtc/typedefs.h"
 
-using std::string;
-
 namespace webrtc {
 
-int EditFrames(const string& in_path, int width, int height,
+int EditFrames(const std::string& in_path, int width, int height,
                int first_frame_to_process, int interval,
-               int last_frame_to_process, const string& out_path) {
+               int last_frame_to_process, const std::string& out_path) {
   if (last_frame_to_process < first_frame_to_process) {
     fprintf(stderr, "The set of frames to cut is empty! (l < f)\n");
     return -10;
diff --git a/webrtc/tools/simple_command_line_parser.cc b/webrtc/tools/simple_command_line_parser.cc
index 62aba3d..863e7a9 100644
--- a/webrtc/tools/simple_command_line_parser.cc
+++ b/webrtc/tools/simple_command_line_parser.cc
@@ -18,8 +18,6 @@
 namespace webrtc {
 namespace test {
 
-using std::string;
-
 CommandLineParser::CommandLineParser() {}
 CommandLineParser::~CommandLineParser() {}
 
@@ -28,7 +26,7 @@
 }
 
 bool CommandLineParser::IsStandaloneFlag(std::string flag) {
-  return flag.find("=") == string::npos;
+  return flag.find("=") == std::string::npos;
 }
 
 bool CommandLineParser::IsFlagWellFormed(std::string flag) {
@@ -55,7 +53,7 @@
 std::string CommandLineParser::GetCommandLineFlagName(std::string flag) {
   size_t dash_pos = flag.find("--");
   size_t equal_pos = flag.find("=");
-  if (equal_pos == string::npos) {
+  if (equal_pos == std::string::npos) {
     return flag.substr(dash_pos + 2);
   } else {
     return flag.substr(dash_pos + 2, equal_pos - 2);
@@ -64,7 +62,7 @@
 
 std::string CommandLineParser::GetCommandLineFlagValue(std::string flag) {
   size_t equal_pos = flag.find("=");
-  if (equal_pos == string::npos) {
+  if (equal_pos == std::string::npos) {
     return "";
   } else {
     return flag.substr(equal_pos + 1);