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

Side by Side Diff: content/browser/renderer_host/media/media_stream_settings_requester.h

Issue 11339014: Move content\browser\renderer_host\media to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/common/media/media_stream_options.h" 11 #include "content/common/media/media_stream_options.h"
12 12
13 namespace media_stream { 13 namespace content {
14 14
15 // Implemented by the class requesting media capture device usage. 15 // Implemented by the class requesting media capture device usage.
16 class CONTENT_EXPORT SettingsRequester { 16 class CONTENT_EXPORT SettingsRequester {
17 public: 17 public:
18 // If no error occurred, this call will deliver the result and the request 18 // If no error occurred, this call will deliver the result and the request
19 // is considered answered. 19 // is considered answered.
20 virtual void DevicesAccepted(const std::string& label, 20 virtual void DevicesAccepted(const std::string& label,
21 const StreamDeviceInfoArray& devices) = 0; 21 const StreamDeviceInfoArray& devices) = 0;
22 22
23 // An error for specified |request_id| has occurred. 23 // An error for specified |request_id| has occurred.
24 virtual void SettingsError(const std::string& label) = 0; 24 virtual void SettingsError(const std::string& label) = 0;
25 25
26 protected: 26 protected:
27 virtual ~SettingsRequester() {} 27 virtual ~SettingsRequester() {}
28 }; 28 };
29 29
30 } // namespace media_stream 30 } // namespace content
31 31
32 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H _ 32 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_SETTINGS_REQUESTER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698