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

Unified Diff: content/child/site_isolation_policy_browsertest.cc

Issue 1181493002: [Patch 3 of 6] Split out content/child's SiteIsolationPolicy into two new classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename_policy_to_sniffer2
Patch Set: Add crbug. Created 5 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
« no previous file with comments | « content/child/site_isolation_policy.cc ('k') | content/child/site_isolation_policy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/site_isolation_policy_browsertest.cc
diff --git a/content/child/site_isolation_policy_browsertest.cc b/content/child/site_isolation_policy_browsertest.cc
index f361bbc953fd66dd56b98b20ae413b1246d3cf26..4a05eb791c5b07587cf77c506bcaba5c7d9ec1fe 100644
--- a/content/child/site_isolation_policy_browsertest.cc
+++ b/content/child/site_isolation_policy_browsertest.cc
@@ -20,10 +20,10 @@ namespace content {
// resources from other websites, not constrained by the Same Origin Policy. We
// are trying to verify that the renderer cannot fetch any cross-site document
// responses even when the Same Origin Policy is turned off inside the renderer.
-class SiteIsolationPolicyBrowserTest : public ContentBrowserTest {
+class SiteIsolationStatsGathererBrowserTest : public ContentBrowserTest {
public:
- SiteIsolationPolicyBrowserTest() {}
- ~SiteIsolationPolicyBrowserTest() override {}
+ SiteIsolationStatsGathererBrowserTest() {}
+ ~SiteIsolationStatsGathererBrowserTest() override {}
void SetUpCommandLine(base::CommandLine* command_line) override {
ASSERT_TRUE(test_server()->Start());
@@ -142,7 +142,7 @@ class SiteIsolationPolicyBrowserTest : public ContentBrowserTest {
}
private:
- DISALLOW_COPY_AND_ASSIGN(SiteIsolationPolicyBrowserTest);
+ DISALLOW_COPY_AND_ASSIGN(SiteIsolationStatsGathererBrowserTest);
};
// TODO(dsjang): we cannot run these tests on Android since SetUpCommandLine()
@@ -156,7 +156,7 @@ class SiteIsolationPolicyBrowserTest : public ContentBrowserTest {
CrossSiteDocumentBlockingForMimeType
#endif
-IN_PROC_BROWSER_TEST_F(SiteIsolationPolicyBrowserTest,
+IN_PROC_BROWSER_TEST_F(SiteIsolationStatsGathererBrowserTest,
MAYBE_CrossSiteDocumentBlockingForMimeType) {
// Load a page that issues illegal cross-site document requests to bar.com.
// The page uses XHR to request HTML/XML/JSON documents from bar.com, and
@@ -232,7 +232,7 @@ IN_PROC_BROWSER_TEST_F(SiteIsolationPolicyBrowserTest,
CrossSiteDocumentBlockingForDifferentTargets
#endif
-IN_PROC_BROWSER_TEST_F(SiteIsolationPolicyBrowserTest,
+IN_PROC_BROWSER_TEST_F(SiteIsolationStatsGathererBrowserTest,
MAYBE_CrossSiteDocumentBlockingForDifferentTargets) {
// This webpage loads a cross-site HTML page in different targets such as
// <img>,<link>,<embed>, etc. Since the requested document is blocked, and one
« no previous file with comments | « content/child/site_isolation_policy.cc ('k') | content/child/site_isolation_policy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698