Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index c5965fec65d9d1e55b3c59c96d47a7899aa8e96c..d595713f81677259d01d3c8034d15510cbee70c9 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -12,7 +12,6 @@ |
#include "base/callback_forward.h" |
#include "content/public/common/content_client.h" |
-#include "content/public/common/media_stream_request.h" |
#include "content/public/common/window_container_type.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresenter.h" |
@@ -68,8 +67,6 @@ class WebUIControllerFactory; |
struct MainFunctionParams; |
struct ShowDesktopNotificationHostMsgParams; |
-typedef base::Callback< void(const MediaStreamDevices&) > MediaResponseCallback; |
- |
// Embedder API (or SPI) for participating in browser logic, to be implemented |
// by the client of the content browser. See ChromeContentBrowserClient for the |
// principal implementation. The methods are assumed to be called on the UI |
@@ -292,15 +289,6 @@ class CONTENT_EXPORT ContentBrowserClient { |
// return NULL if they're not interested. |
virtual MediaObserver* GetMediaObserver(); |
- // Asks permission to use the camera and/or microphone. If permission is |
- // granted, a call should be made to |callback| with the devices. If the |
- // request is denied, a call should be made to |callback| with an empty list |
- // of devices. |request| has the details of the request (e.g. which of audio |
- // and/or video devices are requested, and lists of available devices). |
- virtual void RequestMediaAccessPermission( |
- const MediaStreamRequest* request, |
- const MediaResponseCallback& callback) {} |
- |
// Asks permission to show desktop notifications. |
virtual void RequestDesktopNotificationPermission( |
const GURL& source_origin, |