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

Unified Diff: content/browser/renderer_host/media/media_stream_settings_requester.h

Issue 13989003: Replace MediaStreamUIController with MediaStreamUIProxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/media_stream_settings_requester.h
diff --git a/content/browser/renderer_host/media/media_stream_settings_requester.h b/content/browser/renderer_host/media/media_stream_settings_requester.h
deleted file mode 100644
index 9aa4f31e7b62a9c540ccdd84732d7033db113795..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/media/media_stream_settings_requester.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_
-
-#include <string>
-
-#include "content/common/content_export.h"
-#include "content/common/media/media_stream_options.h"
-
-namespace content {
-
-// Implemented by the class requesting media capture device usage.
-class CONTENT_EXPORT SettingsRequester {
- public:
- // If no error occurred, this call will deliver the result and the request
- // is considered answered.
- virtual void DevicesAccepted(const std::string& label,
- const StreamDeviceInfoArray& devices) = 0;
-
- // An error for specified |request_id| has occurred.
- virtual void SettingsError(const std::string& label) = 0;
-
- // Called when user requested the stream with the specified |label| to be
- // stopped.
- virtual void StopStreamFromUI(const std::string& label) = 0;
-
- // Gets a list of available devices stored in the requester.
- virtual void GetAvailableDevices(MediaStreamDevices* devices) = 0;
-
- protected:
- virtual ~SettingsRequester() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_

Powered by Google App Engine
This is Rietveld 408576698