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

Unified Diff: content/common/site_isolation_policy.h

Issue 1785153005: Remove SiteIsolationPolicy::IsSwappedOutStateForbidden(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on ToT. Created 4 years, 9 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/site_isolation_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.h
diff --git a/content/common/site_isolation_policy.h b/content/common/site_isolation_policy.h
index 69b6c5e4cf4603e036957fb47574fceb05e72321..5b1ee90b37f59daed519dac23360706f00458c59 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.
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/site_isolation_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698