summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/child_process_security_policy_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/child_process_security_policy_unittest.cc b/chrome/browser/child_process_security_policy_unittest.cc
index b4a9847..6d33f21 100644
--- a/chrome/browser/child_process_security_policy_unittest.cc
+++ b/chrome/browser/child_process_security_policy_unittest.cc
@@ -274,6 +274,8 @@ TEST_F(ChildProcessSecurityPolicyTest, RemoveRace) {
EXPECT_FALSE(p->HasDOMUIBindings(kRendererID));
}
+#if defined(OS_WIN)
+
class ChildProcessSecurityPolicyInProcessBrowserTest
: public InProcessBrowserTest {
public:
@@ -311,3 +313,5 @@ IN_PROC_BROWSER_TEST_F(ChildProcessSecurityPolicyInProcessBrowserTest, NoLeak) {
EXPECT_EQ(
ChildProcessSecurityPolicy::GetInstance()->security_state_.size(), 1U);
}
+
+#endif