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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 2954343005: Merge ResourceRequestBodyImpl and ResourceRequestBody. (Closed)
Patch Set: Remove comment Created 3 years, 6 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 82a5e818a4a2e10bb72ca6e312f31d0b9088ce0a..c276ebd8cb5b01633b8a9d85b11abf68587755c8 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -36,7 +36,7 @@ class FileSystemURL;
namespace content {
class SiteInstance;
-class ResourceRequestBodyImpl;
+class ResourceRequestBody;
class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
: NON_EXPORTED_BASE(public ChildProcessSecurityPolicy) {
@@ -99,13 +99,13 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
// data in the POST body specified by |body|. Can be called on any thread.
bool CanReadRequestBody(int child_id,
const storage::FileSystemContext* file_system_context,
- const scoped_refptr<ResourceRequestBodyImpl>& body);
+ const scoped_refptr<ResourceRequestBody>& body);
// Validate that the renderer process for |site_instance| is allowed to access
// data in the POST body specified by |body|. Has to be called on the UI
// thread.
bool CanReadRequestBody(SiteInstance* site_instance,
- const scoped_refptr<ResourceRequestBodyImpl>& body);
+ const scoped_refptr<ResourceRequestBody>& body);
// Pseudo schemes are treated differently than other schemes because they
// cannot be requested like normal URLs. There is no mechanism for revoking
« no previous file with comments | « content/browser/blob_storage/chrome_blob_storage_context.cc ('k') | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698