summaryrefslogtreecommitdiffstats
path: root/content/common/site_isolation_policy.h
diff options
context:
space:
mode:
authornasko <nasko@chromium.org>2016-03-11 20:43:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-12 04:45:42 +0000
commitb3041b98a4757335bfa207a8b0c85c22bd277900 (patch)
treeb9ee2ed37aa19b3ad87c0b452fc4ae45fc1a10a0 /content/common/site_isolation_policy.h
parent6bc783fe31c676d506c502cb526a7f51d108ae72 (diff)
downloadchromium_src-b3041b98a4757335bfa207a8b0c85c22bd277900.zip
chromium_src-b3041b98a4757335bfa207a8b0c85c22bd277900.tar.gz
chromium_src-b3041b98a4757335bfa207a8b0c85c22bd277900.tar.bz2
Remove SiteIsolationPolicy::IsSwappedOutStateForbidden().
IsSwappedOutStateForbidden has been hardcoded to return true for the last two milestones and it is now time to remove it. BUG=357747, 253537 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1785153005 Cr-Commit-Position: refs/heads/master@{#380844}
Diffstat (limited to 'content/common/site_isolation_policy.h')
-rw-r--r--content/common/site_isolation_policy.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/content/common/site_isolation_policy.h b/content/common/site_isolation_policy.h
index 69b6c5e..5b1ee90 100644
--- a/content/common/site_isolation_policy.h
+++ b/content/common/site_isolation_policy.h
@@ -43,17 +43,6 @@ class CONTENT_EXPORT SiteIsolationPolicy {
// TODO(creis, avi): Make this the default, and eliminate this.
static bool UseSubframeNavigationEntries();
- // Returns true if we are currently in a mode where the swapped out state
- // should not be used. Currently (as an implementation strategy) swapped out
- // is forbidden under --site-per-process, but our goal is to eliminate the
- // mode entirely. In code that deals with the swapped out state, prefer calls
- // to this function over consulting the switches directly. It will be easier
- // to grep, and easier to rip out.
- //
- // TODO(nasko): When swappedout:// is eliminated entirely, this function
- // should be removed and its callers cleaned up.
- static bool IsSwappedOutStateForbidden();
-
private:
SiteIsolationPolicy(); // Not instantiable.