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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.cc

Issue 139053003: Chrome OS: avoid suspending on lid close when casting is active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile warning of unused functions. Created 6 years, 11 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 | « chromeos/display/output_configurator_unittest.cc ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/media_stream_manager.cc
diff --git a/content/browser/renderer_host/media/media_stream_manager.cc b/content/browser/renderer_host/media/media_stream_manager.cc
index 8a865fc2903a495faf5e9eb90a614de71607d4db..27c875583d4396660d9be7ea1b74d7ec420f5a4f 100644
--- a/content/browser/renderer_host/media/media_stream_manager.cc
+++ b/content/browser/renderer_host/media/media_stream_manager.cc
@@ -218,7 +218,9 @@ class MediaStreamManager::DeviceRequest {
media_observer->OnMediaRequestStateChanged(
ui_request_->render_process_id, ui_request_->render_view_id,
ui_request_->page_request_id,
- MediaStreamDevice(stream_type, device_id, device_id), new_state);
+ MediaStreamDevice(stream_type, device_id, device_id,
+ ui_request_->security_origin),
hshi1 2014/01/17 02:21:25 Note: alternatively I can just pass the GURL |secu
+ new_state);
}
MediaRequestState state(MediaStreamType stream_type) const {
« no previous file with comments | « chromeos/display/output_configurator_unittest.cc ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698