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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 1212163007: Kill renderers for bad password forms in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/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 61486b9a28b483f12e35da14426f0bbfb3f173f1..7ec669b68a50450c7944fddd9eb5e59649918004 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -74,6 +74,7 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
const std::string& filesystem_id) override;
bool HasWebUIBindings(int child_id) override;
void GrantSendMidiSysExMessage(int child_id) override;
+ bool CanAccessDataForOrigin(int child_id, const GURL& url) override;
// Pseudo schemes are treated differently than other schemes because they
// cannot be requested like normal URLs. There is no mechanism for revoking
@@ -145,12 +146,6 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
// Returns true if the specified child_id has been granted ReadRawCookies.
bool CanReadRawCookies(int child_id);
- // Returns true if the process is permitted to read and modify the cookies for
- // the given origin. Does not affect cookies attached to or set by network
- // requests.
- // Only might return false if the --site-per-process flag is used.
- bool CanAccessCookiesForOrigin(int child_id, const GURL& gurl);
-
// Sets the process as only permitted to use and see the cookies for the
// given origin.
// Origin lock is applied only if the --site-per-process flag is used.

Powered by Google App Engine
This is Rietveld 408576698