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

Unified Diff: chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc

Issue 2547633002: Desktop Capture API: Pass Audio Selection Information To Javascript (Closed)
Patch Set: Browser Test Case Created 4 years 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 | chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc
diff --git a/chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc b/chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc
index e6f28293e371792b6732779fd80d641f70a82364..3d1209869919b8fe2702935e0660a776a2b1b188 100644
--- a/chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc
+++ b/chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc
@@ -188,8 +188,14 @@ IN_PROC_BROWSER_TEST_F(DesktopCaptureApiTest, MAYBE_ChooseDesktopMedia) {
{false, true, false, false, content::DesktopMediaID()},
// tabOnly()
{false, false, true, false, content::DesktopMediaID()},
- // audioShare()
- {true, true, true, true, content::DesktopMediaID()},
+ // audioShareNoApproval()
+ {true, true, true, true,
+ content::DesktopMediaID(content::DesktopMediaID::TYPE_WEB_CONTENTS, 123,
+ false)},
+ // audioShareApproval()
+ {true, true, true, true,
+ content::DesktopMediaID(content::DesktopMediaID::TYPE_WEB_CONTENTS, 123,
+ true)},
// chooseMediaAndGetStream()
{true, true, false, false,
content::DesktopMediaID(content::DesktopMediaID::TYPE_SCREEN,
« no previous file with comments | « no previous file | chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698