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

Unified Diff: content/public/test/browser_test_utils.h

Issue 2310683003: Removed duplicated JS hasVideoInputDeviceOnSystem() test helper (Closed)
Patch Set: Codereview update Created 4 years, 3 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: content/public/test/browser_test_utils.h
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h
index 964cf670722fe525c0cf0d91b80292d103c2d9f5..4df740e030b1fa61a63cd6c065a8e1efec6f9923 100644
--- a/content/public/test/browser_test_utils.h
+++ b/content/public/test/browser_test_utils.h
@@ -166,6 +166,9 @@ void SimulateKeyPress(WebContents* web_contents,
bool alt,
bool command);
+// Method to check what devices we have on the system.
+bool HasWebcamAvailableOnSystem(WebContents* web_contents);
sky 2016/09/13 21:32:34 IsWebcamAvailableOnSystem?
lunalu1 2016/09/13 21:55:02 Done.
+
// Allow ExecuteScript* methods to target either a WebContents or a
// RenderFrameHost. Targetting a WebContents means executing the script in the
// RenderFrameHost returned by WebContents::GetMainFrame(), which is the main

Powered by Google App Engine
This is Rietveld 408576698