| Index: content/public/common/pepper_permissions_config.h
|
| diff --git a/content/public/common/pepper_permissions_config.h b/content/public/common/pepper_permissions_config.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ba632f68af647ae0205ab8eb3da7f4aa1b8fb966
|
| --- /dev/null
|
| +++ b/content/public/common/pepper_permissions_config.h
|
| @@ -0,0 +1,28 @@
|
| +// 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_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_
|
| +#define CONTENT_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "content/common/content_export.h"
|
| +#include "ppapi/shared_impl/ppapi_permissions.h"
|
| +
|
| +namespace content {
|
| +
|
| +struct PepperPluginInfo;
|
| +
|
| +// Adds additional permissions specified by command line parameters to the
|
| +// given input permissions, returning the result.
|
| +CONTENT_EXPORT ppapi::PpapiPermissions AddPepperPermissionsFromCommandLine(
|
| + const ppapi::PpapiPermissions& original_perms) WARN_UNUSED_RESULT;
|
| +
|
| +// Returns the Pepper plugin permissions for the given plugin info. This takes
|
| +// into account additional permissions based on command line arguments
|
| +CONTENT_EXPORT ppapi::PpapiPermissions CreatePepperPermissionsForPlugin(
|
| + const PepperPluginInfo& info) WARN_UNUSED_RESULT;
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_PEPPER_PERMISSIONS_CONFIG_H_
|
|
|