| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/json/json_reader.h" | 6 #include "base/json/json_reader.h" |
| 7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "chrome/browser/media/webrtc_browsertest_base.h" | 8 #include "chrome/browser/media/webrtc_browsertest_base.h" |
| 9 #include "chrome/browser/media/webrtc_browsertest_common.h" | 9 #include "chrome/browser/media/webrtc_browsertest_common.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 EXPECT_STREQ(kSourceKindAudioInput, sources_it->kind.c_str()); | 286 EXPECT_STREQ(kSourceKindAudioInput, sources_it->kind.c_str()); |
| 287 } else { | 287 } else { |
| 288 EXPECT_STREQ(kSourceKindVideoInput, sources_it->kind.c_str()); | 288 EXPECT_STREQ(kSourceKindVideoInput, sources_it->kind.c_str()); |
| 289 } | 289 } |
| 290 EXPECT_TRUE(!devices_it->label.empty()); | 290 EXPECT_TRUE(!devices_it->label.empty()); |
| 291 EXPECT_STREQ(devices_it->label.c_str(), sources_it->label.c_str()); | 291 EXPECT_STREQ(devices_it->label.c_str(), sources_it->label.c_str()); |
| 292 ++sources_it; | 292 ++sources_it; |
| 293 } | 293 } |
| 294 EXPECT_EQ(sources.end(), sources_it); | 294 EXPECT_EQ(sources.end(), sources_it); |
| 295 } | 295 } |
| OLD | NEW |