OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "content/common/content_export.h" |
| 10 #include "ppapi/shared_impl/ppapi_permissions.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 struct PepperPluginInfo; |
| 15 |
| 16 // Adds additional permissions specified by command line parameters to the |
| 17 // given input permissions, returning the result. |
| 18 CONTENT_EXPORT ppapi::PpapiPermissions AddPepperPermissionsFromCommandLine( |
| 19 const ppapi::PpapiPermissions& original_perms) WARN_UNUSED_RESULT; |
| 20 |
| 21 // Returns the Pepper plugin permissions for the given plugin info. This takes |
| 22 // into account additional permissions based on command line arguments |
| 23 CONTENT_EXPORT ppapi::PpapiPermissions CreatePepperPermissionsForPlugin( |
| 24 const PepperPluginInfo& info) WARN_UNUSED_RESULT; |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_ |
OLD | NEW |