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

Unified Diff: content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h

Issue 19770009: PepperFileRefHost: 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: address kinuko comment. 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/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
diff --git a/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h b/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
index 1066ec1fa50609190342e2411b6293a1a7ad2fe2..994e9c291cd7000ebba7d4ac6274e3913842af2a 100644
--- a/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
+++ b/content/browser/renderer_host/pepper/pepper_external_file_ref_backend.h
@@ -44,7 +44,10 @@ class PepperExternalFileRefBackend : public PepperFileRefBackend {
virtual std::string GetFileSystemURLSpec() const OVERRIDE;
virtual base::FilePath GetExternalPath() const OVERRIDE;
- virtual int32_t HasPermissions(int permissions) const OVERRIDE;
+ virtual int32_t CanRead() const OVERRIDE;
+ virtual int32_t CanWrite() const OVERRIDE;
+ virtual int32_t CanCreate() const OVERRIDE;
+ virtual int32_t CanReadWrite() const OVERRIDE;
private:
// Generic reply callback.

Powered by Google App Engine
This is Rietveld 408576698