diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 19:40:37 +0000 |
commit | 8ac1a75acadaa2aae065212cb6255d00c789a184 (patch) | |
tree | 854eaf66ba8ce7e581bd8e6f1fa75f46d22f4bb7 /net/base/cookie_policy_unittest.cc | |
parent | 287a019ed5d015185cab41f6c7156dc6c4cbcee7 (diff) | |
download | chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.zip chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.gz chromium_src-8ac1a75acadaa2aae065212cb6255d00c789a184.tar.bz2 |
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
Diffstat (limited to 'net/base/cookie_policy_unittest.cc')
-rw-r--r-- | net/base/cookie_policy_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
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_)); |