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

Unified Diff: content/browser/renderer_host/pepper/pepper_internal_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_internal_file_ref_backend.h
diff --git a/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h b/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h
index 1c1a6205e6f570b93a3612b90cf126bd1ae9e5e2..dce7889466a882e4351f476574fe791c750c26ed 100644
--- a/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h
+++ b/content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.h
@@ -47,7 +47,10 @@ class PepperInternalFileRefBackend : 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