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

Unified Diff: content/public/common/media_stream_request.h

Issue 2123863004: ScreenCapture for Android phase1, part II (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to #407492(Jul 25) Created 4 years, 5 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/common/media_stream_request.h
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
index a7f32e0e5e85831a792886efec7cac02249a7188..6a54fbb2c4ab2fade9dea231dfcd87652bd15515 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -87,6 +87,7 @@ enum MediaStreamRequestResult {
// audio or some video device.
CONTENT_EXPORT bool IsAudioInputMediaType(MediaStreamType type);
CONTENT_EXPORT bool IsVideoMediaType(MediaStreamType type);
+CONTENT_EXPORT bool IsContentCaptureMediaType(MediaStreamType type);
Sergey Ulanov 2016/08/01 18:20:36 ContentCapture is ambiguous. Maybe call it IsDeskt
braveyao 2016/08/03 00:23:47 Done. I think content capture is better, since tab
miu 2016/08/03 00:36:52 IsDesktopCaptureMediaType() is wrong since it's in
braveyao 2016/08/09 21:40:26 Done. Prefer to use IsScreenCaptureMediaType().
// TODO(xians): Change the structs to classes.
// Represents one device in a request for media stream(s).

Powered by Google App Engine
This is Rietveld 408576698