From 8ac1a75acadaa2aae065212cb6255d00c789a184 Mon Sep 17 00:00:00 2001 From: "darin@google.com" Date: Thu, 31 Jul 2008 19:40:37 +0000 Subject: Move more net classes into the net namespace. Also remove the net_util namespace in favor of the net namespace. This is a purely mechanical change. There should be no logic changes. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/cookie_policy_unittest.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'net/base/cookie_policy_unittest.cc') diff --git a/net/base/cookie_policy_unittest.cc b/net/base/cookie_policy_unittest.cc index e63ec24..7d2ce8e 100644 --- a/net/base/cookie_policy_unittest.cc +++ b/net/base/cookie_policy_unittest.cc @@ -49,7 +49,7 @@ class CookiePolicyTest : public testing::Test { } // namespace TEST_F(CookiePolicyTest, DefaultPolicyTest) { - CookiePolicy cp; + net::CookiePolicy cp; EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_)); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_secure_)); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_mail_)); @@ -64,8 +64,8 @@ TEST_F(CookiePolicyTest, DefaultPolicyTest) { } TEST_F(CookiePolicyTest, AllowAllCookiesTest) { - CookiePolicy cp; - cp.SetType(CookiePolicy::ALLOW_ALL_COOKIES); + net::CookiePolicy cp; + cp.SetType(net::CookiePolicy::ALLOW_ALL_COOKIES); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_)); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_secure_)); @@ -81,8 +81,8 @@ TEST_F(CookiePolicyTest, AllowAllCookiesTest) { } TEST_F(CookiePolicyTest, BlockThirdPartyCookiesTest) { - CookiePolicy cp; - cp.SetType(CookiePolicy::BLOCK_THIRD_PARTY_COOKIES); + net::CookiePolicy cp; + cp.SetType(net::CookiePolicy::BLOCK_THIRD_PARTY_COOKIES); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_)); EXPECT_TRUE(cp.CanGetCookies(url_google_, url_google_secure_)); @@ -98,8 +98,8 @@ TEST_F(CookiePolicyTest, BlockThirdPartyCookiesTest) { } TEST_F(CookiePolicyTest, BlockAllCookiesTest) { - CookiePolicy cp; - cp.SetType(CookiePolicy::BLOCK_ALL_COOKIES); + net::CookiePolicy cp; + cp.SetType(net::CookiePolicy::BLOCK_ALL_COOKIES); EXPECT_FALSE(cp.CanGetCookies(url_google_, url_google_)); EXPECT_FALSE(cp.CanGetCookies(url_google_, url_google_secure_)); -- cgit v1.1