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

Side by Side Diff: content/public/common/pepper_permissions_config.h

Issue 10984094: Hook up PpapiPermissions in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698