diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 16:48:45 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-06 16:48:45 +0000 |
commit | 690a99c80e4fe4e6eda9010b88e4438f57912336 (patch) | |
tree | 423390d4af89abd910ffd69f5e446720b1aa5b1f /chrome/browser/sandbox_policy.h | |
parent | 8c643f00166c14b146f8e5e0d2beedddacb58aab (diff) | |
download | chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.zip chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.tar.gz chromium_src-690a99c80e4fe4e6eda9010b88e4438f57912336.tar.bz2 |
Move plugins to FilePaths, some cleanup
Review URL: http://codereview.chromium.org/16456
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7588 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sandbox_policy.h')
-rw-r--r-- | chrome/browser/sandbox_policy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/sandbox_policy.h b/chrome/browser/sandbox_policy.h index 3beafdd..3711073 100644 --- a/chrome/browser/sandbox_policy.h +++ b/chrome/browser/sandbox_policy.h @@ -6,6 +6,8 @@ #define CHROME_BROWSER_SANDBOX_POLICY_H_ #include <string> + +#include "base/file_path.h" #include "sandbox/src/sandbox.h" #include "webkit/activex_shim/activex_shared.h" @@ -23,7 +25,7 @@ bool AddPolicyForGearsInRenderer(sandbox::TargetPolicy* policy); // |trusted_plugins| contains the comma separate list of plugins that should // not be sandboxed. The plugin in the list can be either the plugin dll name // of the class id if it's an ActiveX. -bool AddPolicyForPlugin(const std::wstring &plugin_dll, +bool AddPolicyForPlugin(const FilePath &plugin_dll, const std::string &activex_clsid, const std::wstring &trusted_plugins, sandbox::TargetPolicy* policy); @@ -35,7 +37,7 @@ enum PluginPolicyCategory { // Returns the policy category for the plugin dll. PluginPolicyCategory GetPolicyCategoryForPlugin( - const std::wstring& plugin_dll, + const FilePath& plugin_dll, const std::wstring& activex_clsid, const std::wstring& trusted_plugins); |