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

Unified Diff: content/browser/renderer_host/media/peer_connection_tracker_host.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/browser/renderer_host/media/peer_connection_tracker_host.h
diff --git a/content/browser/renderer_host/media/peer_connection_tracker_host.h b/content/browser/renderer_host/media/peer_connection_tracker_host.h
index 53926f87c8191f2d1b879ac62c5a3b6b1f9ba45f..35f89d658377f26b6c62bc2f312cf1d1a3278635 100644
--- a/content/browser/renderer_host/media/peer_connection_tracker_host.h
+++ b/content/browser/renderer_host/media/peer_connection_tracker_host.h
@@ -12,6 +12,7 @@
#include "content/public/browser/browser_message_filter.h"
struct PeerConnectionInfo;
+struct VideoInfo;
namespace base {
class ListValue;
@@ -53,12 +54,14 @@ class PeerConnectionTrackerHost : public BrowserMessageFilter,
void OnAddStats(int lid, const base::ListValue& value);
void OnGetUserMedia(const std::string& origin,
bool audio,
- bool video,
+ const VideoInfo& video_info,
const std::string& audio_constraints,
const std::string& video_constraints);
void SendOnSuspendOnUIThread();
+ bool IsScreenCapture(const std::string& video_constraints);
int render_process_id_;
+ bool is_screen_capture_;
WebRTCEventLogHost* const event_log_host_;

Powered by Google App Engine
This is Rietveld 408576698