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

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

Issue 2310683003: Removed duplicated JS hasVideoInputDeviceOnSystem() test helper (Closed)
Patch Set: Update logging syntax 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..c9b721902e310fe138d2850c7bee5df4e75fe2d2 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* tab_contents);
sky 2016/09/07 03:32:18 tab_contents -> web_contents
lunalu1 2016/09/07 14:30:34 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