Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_HELPER_H_ | |
| 6 #define CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_HELPER_H_ | |
| 7 | |
| 8 #include "url/gurl.h" | |
| 9 | |
| 10 class Profile; | |
| 11 | |
| 12 enum MediaStreamDevicePolicy { | |
|
tommi (sloooow) - chröme
2014/08/22 19:42:56
should the contents of this file be in a namespace
| |
| 13 POLICY_NOT_SET, | |
| 14 ALWAYS_DENY, | |
| 15 ALWAYS_ALLOW, | |
| 16 }; | |
| 17 | |
| 18 // Get the device policy for |security_origin| and |profile|. | |
| 19 MediaStreamDevicePolicy GetDevicePolicy(Profile* profile, | |
| 20 GURL security_origin, | |
| 21 const char* policy_name, | |
| 22 const char* whitelist_policy_name); | |
| 23 | |
| 24 #endif // CHROME_BROWSER_MEDIA_MEDIA_STREAM_DEVICES_HELPER_H_ | |
| OLD | NEW |