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

Side by Side Diff: content/browser/media/webrtc_internals_browsertest.cc

Issue 265263004: Mac Video Capture Device: split VCD into VCD and Factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reconnected VCDFMac::Create() check for device name; VCDTest::OpenInvalidDevice needs Mac API Type. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
11 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
12 #include "content/public/test/content_browser_test.h" 12 #include "content/public/test/content_browser_test.h"
13 #include "content/public/test/content_browser_test_utils.h" 13 #include "content/public/test/content_browser_test_utils.h"
14 #include "content/shell/browser/shell.h" 14 #include "content/shell/browser/shell.h"
15 #include "media/base/media_switches.h"
15 #include "net/test/embedded_test_server/embedded_test_server.h" 16 #include "net/test/embedded_test_server/embedded_test_server.h"
16 17
17 using std::string; 18 using std::string;
18 namespace content { 19 namespace content {
19 20
20 struct SsrcEntry { 21 struct SsrcEntry {
21 string GetSsrcAttributeString() const { 22 string GetSsrcAttributeString() const {
22 std::stringstream ss; 23 std::stringstream ss;
23 ss << "a=ssrc:" << id; 24 ss << "a=ssrc:" << id;
24 std::map<string, string>::const_iterator iter; 25 std::map<string, string>::const_iterator iter;
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 ASSERT_TRUE(ExecuteScriptAndExtractInt( 856 ASSERT_TRUE(ExecuteScriptAndExtractInt(
856 shell()->web_contents(), 857 shell()->web_contents(),
857 "window.domAutomationController.send(" 858 "window.domAutomationController.send("
858 " peerConnectionDataStore['" + pc.getIdString() + "']" + 859 " peerConnectionDataStore['" + pc.getIdString() + "']" +
859 " .getDataSeries('" + data_series_id + "').getCount())", 860 " .getDataSeries('" + data_series_id + "').getCount())",
860 &count)); 861 &count));
861 EXPECT_EQ(3, count); 862 EXPECT_EQ(3, count);
862 } 863 }
863 864
864 } // namespace content 865 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/browser/renderer_host/media/audio_renderer_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698