Lines Matching defs:CanSetCookie
26 int CanSetCookie(const GURL& url, const GURL& first_party) {
27 return policy_.CanSetCookie(url, first_party, std::string());
44 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_));
45 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_secure_));
46 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_mail_));
47 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_analytics_));
48 EXPECT_EQ(OK, CanSetCookie(url_google_, GURL()));
60 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_));
61 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_secure_));
62 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_mail_));
63 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_analytics_));
64 EXPECT_EQ(OK, CanSetCookie(url_google_, GURL()));
76 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_));
77 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_secure_));
78 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_mail_));
79 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_analytics_));
80 EXPECT_EQ(OK, CanSetCookie(url_google_, GURL()));
92 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_));
93 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_secure_));
94 EXPECT_EQ(OK, CanSetCookie(url_google_, url_google_mail_));
95 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_analytics_));
96 EXPECT_EQ(OK, CanSetCookie(url_google_, GURL()));
108 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_));
109 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_secure_));
110 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_mail_));
111 EXPECT_NE(OK, CanSetCookie(url_google_, url_google_analytics_));
112 EXPECT_NE(OK, CanSetCookie(url_google_, GURL()));