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

Unified Diff: content/browser/webrtc/webrtc_image_capture_browsertest.cc

Issue 2456193004: Image Capture: enable content_browsertests in Linux/CrOs (Closed)
Patch Set: xianglu@ comments Created 4 years, 2 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
« no previous file with comments | « no previous file | content/test/data/media/image_capture_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webrtc/webrtc_image_capture_browsertest.cc
diff --git a/content/browser/webrtc/webrtc_image_capture_browsertest.cc b/content/browser/webrtc/webrtc_image_capture_browsertest.cc
index 593a8db556e03fee1abe8e3508b18c61db7fa6f7..f3ee3ff916d15f3f731698713392eebd6ed79c95 100644
--- a/content/browser/webrtc/webrtc_image_capture_browsertest.cc
+++ b/content/browser/webrtc/webrtc_image_capture_browsertest.cc
@@ -39,7 +39,12 @@ static const char kImageCaptureHtmlFile[] = "/media/image_capture_test.html";
// platforms where the ImageCaptureCode is landed, https://crbug.com/656810
static struct TargetCamera {
bool use_fake;
-} const kTestParameters[] = {{true}};
+} const kTestParameters[] = {
+ {true},
+#if !defined(OS_LINUX)
+ {false}
+#endif
+};
} // namespace
@@ -100,6 +105,7 @@ class WebRtcImageCaptureBrowserTest
std::string result;
if (!ExecuteScriptAndExtractString(shell(), command, &result))
return false;
+ DLOG_IF(ERROR, result != "OK") << result;
return result == "OK";
}
« no previous file with comments | « no previous file | content/test/data/media/image_capture_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698