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

Unified Diff: content/renderer/pepper/plugin_delegate.h

Issue 19723010: Pepper Message Filters: Port to use explicit permission grants in ChildProcessSecurityPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044-write-support-remove-child-process-security-policy-bitmask-usage
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/plugin_delegate.h
diff --git a/content/renderer/pepper/plugin_delegate.h b/content/renderer/pepper/plugin_delegate.h
index deb5d04c85a47982f65520deabf16624bdd31d75..de3738ffa7d75e29f503c41fd3cbf887a6b1b946 100644
--- a/content/renderer/pepper/plugin_delegate.h
+++ b/content/renderer/pepper/plugin_delegate.h
@@ -448,11 +448,11 @@ class PluginDelegate {
// Notifies that the index of the currently selected item has been updated.
virtual void SelectedFindResultChanged(int identifier, int index) = 0;
- // Sends an async IPC to open a local file.
+ // Sends an async IPC to open a local file. |pp_open_flags| are Pepper flags.
typedef base::Callback<void (base::PlatformFileError, base::PassPlatformFile)>
AsyncOpenFileCallback;
virtual bool AsyncOpenFile(const base::FilePath& path,
- int flags,
+ int pp_open_flags,
const AsyncOpenFileCallback& callback) = 0;
// These functions expose some of PepperFileSystemHost methods for
@@ -480,9 +480,10 @@ class PluginDelegate {
quota::QuotaLimitType quota_policy,
const NotifyCloseFileCallback& close_file_callback)>
AsyncOpenFileSystemURLCallback;
+ // |pp_open_flags| are Pepper flags.
virtual void AsyncOpenFileSystemURL(
const GURL& path,
- int flags,
+ int pp_open_flags,
const AsyncOpenFileSystemURLCallback& callback) = 0;
// Callback typedefs for FileSystem related methods.

Powered by Google App Engine
This is Rietveld 408576698