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

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: UI tweaking and rebase Created 4 years, 4 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 949010addeec58b80c8863bd16805adeeebd5054..a60079be2205a551ae61af8ff0bdd21e75f8c732 100644
--- a/content/browser/renderer_host/media/peer_connection_tracker_host.h
+++ b/content/browser/renderer_host/media/peer_connection_tracker_host.h
@@ -9,9 +9,11 @@
#include "base/macros.h"
#include "base/power_monitor/power_observer.h"
+#include "base/synchronization/lock.h"
#include "content/public/browser/browser_message_filter.h"
struct PeerConnectionInfo;
+struct VideoInfo;
namespace base {
class ListValue;
@@ -54,13 +56,16 @@ 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_;
+ base::Lock lock_;
base::WeakPtr<WebRTCEventLogHost> event_log_host_;
DISALLOW_COPY_AND_ASSIGN(PeerConnectionTrackerHost);

Powered by Google App Engine
This is Rietveld 408576698