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

Unified Diff: content/public/browser/desktop_media_id.h

Issue 1758463002: Add browser test cases for tab and audio share, which are new functionality of desktop share. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comment Created 4 years, 10 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 | « chrome/test/data/extensions/api_test/desktop_capture/test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/desktop_media_id.h
diff --git a/content/public/browser/desktop_media_id.h b/content/public/browser/desktop_media_id.h
index 5db272a339e093783edd5dbafd45ec513dcf3924..7b6cd1f101101d321078ada647d92e7ed0becd32 100644
--- a/content/public/browser/desktop_media_id.h
+++ b/content/public/browser/desktop_media_id.h
@@ -46,6 +46,9 @@ struct CONTENT_EXPORT DesktopMediaID {
DesktopMediaID(Type type, Id id, WebContentsMediaCaptureId web_contents_id)
: type(type), id(id), web_contents_id(web_contents_id) {}
+ DesktopMediaID(Type type, Id id, bool audio_share)
+ : type(type), id(id), audio_share(audio_share) {}
+
// Operators so that DesktopMediaID can be used with STL containers.
bool operator<(const DesktopMediaID& other) const;
bool operator==(const DesktopMediaID& other) const;
« no previous file with comments | « chrome/test/data/extensions/api_test/desktop_capture/test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698