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

Side by Side Diff: content/common/site_isolation_policy.h

Issue 2648053002: Remove old session history logic. (Closed)
Patch Set: Remove comment. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_SITE_ISOLATION_POLICY_H_ 5 #ifndef CONTENT_COMMON_SITE_ISOLATION_POLICY_H_
6 #define CONTENT_COMMON_SITE_ISOLATION_POLICY_H_ 6 #define CONTENT_COMMON_SITE_ISOLATION_POLICY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 23 matching lines...) Expand all
34 // particular site merits protection. 34 // particular site merits protection.
35 static bool AreCrossProcessFramesPossible(); 35 static bool AreCrossProcessFramesPossible();
36 36
37 // Returns true if every site should be placed in a dedicated process. 37 // Returns true if every site should be placed in a dedicated process.
38 static bool UseDedicatedProcessesForAllSites(); 38 static bool UseDedicatedProcessesForAllSites();
39 39
40 // Returns true if third-party subframes of a page should be kept in a 40 // Returns true if third-party subframes of a page should be kept in a
41 // different process from the main frame. 41 // different process from the main frame.
42 static bool IsTopDocumentIsolationEnabled(); 42 static bool IsTopDocumentIsolationEnabled();
43 43
44 // Returns true if navigation and history code should maintain per-frame
45 // navigation entries. This is an in-progress feature related to site
46 // isolation, so the return value is currently tied to --site-per-process.
47 // TODO(creis, avi): Make this the default, and eliminate this.
48 static bool UseSubframeNavigationEntries();
49
50 private: 44 private:
51 SiteIsolationPolicy(); // Not instantiable. 45 SiteIsolationPolicy(); // Not instantiable.
52 46
53 DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicy); 47 DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicy);
54 }; 48 };
55 49
56 } // namespace content 50 } // namespace content
57 51
58 #endif // CONTENT_COMMON_SITE_ISOLATION_POLICY_H_ 52 #endif // CONTENT_COMMON_SITE_ISOLATION_POLICY_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/site_isolation_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698