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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 10332071: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Browser cleanup Created 8 years, 7 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/child_process_security_policy_impl.h
diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/child_process_security_policy_impl.h
index ee258bbe3578938336e89425b8fa0bf5e936fb19..25a3904377318ecfbeda189c9e0e32f9ad0b63b8 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -78,7 +78,8 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
void RevokeAllPermissionsForFile(int child_id, const FilePath& file);
// Grants access permission to the given filesystem_id.
- void GrantAccessFileSystem(int child_id, const std::string& filesystem_id);
+ virtual void GrantAccessFileSystem(int child_id,
+ const std::string& filesystem_id) OVERRIDE;
Avi (use Gerrit) 2012/05/24 14:37:31 If this is a part of the ChildProcessSecurityPolic
benwells 2012/05/24 23:36:55 Done.
// Grant the child process the ability to use Web UI Bindings.
void GrantWebUIBindings(int child_id);
@@ -97,7 +98,7 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
// Before servicing a child process's request to upload a file to the web, the
// browser should call this method to determine whether the process has the
// capability to upload the requested file.
- bool CanReadFile(int child_id, const FilePath& file);
+ virtual bool CanReadFile(int child_id, const FilePath& file) OVERRIDE;
Avi (use Gerrit) 2012/05/24 14:37:31 ditto
benwells 2012/05/24 23:36:55 Done.
// Before servicing a child process's request to enumerate a directory
// the browser should call this method to check for the capability.

Powered by Google App Engine
This is Rietveld 408576698