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

Unified Diff: chrome/browser/ui/extensions/shell_window.cc

Issue 12153002: Move chrome://media-internals to content. This allows us to hide implementation details from the pu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
Index: chrome/browser/ui/extensions/shell_window.cc
===================================================================
--- chrome/browser/ui/extensions/shell_window.cc (revision 179909)
+++ chrome/browser/ui/extensions/shell_window.cc (working copy)
@@ -17,7 +17,7 @@
#include "chrome/browser/file_select_helper.h"
#include "chrome/browser/intents/web_intents_util.h"
#include "chrome/browser/lifetime/application_lifetime.h"
-#include "chrome/browser/media/media_internals.h"
+#include "chrome/browser/media/media_capture_devices_dispatcher.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sessions/session_id.h"
#include "chrome/browser/ui/browser.h"
@@ -253,7 +253,7 @@
const content::MediaResponseCallback& callback) {
// Get the preferred default devices for the request.
content::MediaStreamDevices devices;
- media::GetDefaultDevicesForProfile(
+ MediaCaptureDevicesDispatcher::GetInstance()->GetDefaultDevicesForProfile(
profile_,
content::IsAudioMediaType(request.audio_type),
content::IsVideoMediaType(request.video_type),

Powered by Google App Engine
This is Rietveld 408576698