OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_SOURCE_ID_FACTORY | |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_SOURCE_ID_FACTORY | |
7 | |
8 #include <string> | |
9 | |
10 #include "content/common/content_export.h" | |
11 #include "content/common/media/media_stream_options.h" | |
12 | |
13 namespace content { | |
14 | |
15 class CONTENT_EXPORT MediaSourceIdFactory { | |
no longer working on chromium
2013/10/25 08:16:39
do you need to make it a class? I think it should
| |
16 public: | |
17 static bool DoesSourceIdMatchDeviceId(const GURL& security_origin, | |
18 const std::string& source_id, | |
19 const std::string& device_id); | |
20 | |
21 static void GenerateSourceId(const GURL& origin, | |
22 const std::string& device_id, | |
23 std::string* source_id); | |
24 | |
25 static void GenerateSourceIds(const GURL& origin, | |
26 const StreamDeviceInfoArray& raw_devices, | |
27 StreamDeviceInfoArray* devices_with_sourceid); | |
28 | |
29 }; | |
30 | |
31 } // namespace content | |
32 | |
33 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_SOURCE_ID_FACTORY | |
OLD | NEW |