diff options
author | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 12:33:47 +0000 |
---|---|---|
committer | deanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 12:33:47 +0000 |
commit | 2087806f7555fe5bca7d8b8894246c3b2fd2745d (patch) | |
tree | 3acde8c1e910b2bbbc09f70817bbedc4f05170b7 /net | |
parent | b5d2066f28e7963b7c752f0bdf9bfb8c2d9fdd2f (diff) | |
download | chromium_src-2087806f7555fe5bca7d8b8894246c3b2fd2745d.zip chromium_src-2087806f7555fe5bca7d8b8894246c3b2fd2745d.tar.gz chromium_src-2087806f7555fe5bca7d8b8894246c3b2fd2745d.tar.bz2 |
Forward declare GURL in cookie_policy.
TBR=maruel
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/cookie_policy.cc | 1 | ||||
-rw-r--r-- | net/base/cookie_policy.h | 4 | ||||
-rw-r--r-- | net/base/cookie_policy_unittest.cc | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/net/base/cookie_policy.cc b/net/base/cookie_policy.cc index da859ee..7126109 100644 --- a/net/base/cookie_policy.cc +++ b/net/base/cookie_policy.cc @@ -30,6 +30,7 @@ #include "net/base/cookie_policy.h" #include "base/logging.h" +#include "googleurl/src/gurl.h" #include "net/base/registry_controlled_domain.h" namespace net { diff --git a/net/base/cookie_policy.h b/net/base/cookie_policy.h index 6c7b0e6..ccc4115 100644 --- a/net/base/cookie_policy.h +++ b/net/base/cookie_policy.h @@ -30,7 +30,9 @@ #ifndef NET_BASE_COOKIE_POLICY_H__ #define NET_BASE_COOKIE_POLICY_H__ -#include "googleurl/src/gurl.h" +#include "base/basictypes.h" + +class GURL; namespace net { diff --git a/net/base/cookie_policy_unittest.cc b/net/base/cookie_policy_unittest.cc index 7d2ce8e..37f6005f 100644 --- a/net/base/cookie_policy_unittest.cc +++ b/net/base/cookie_policy_unittest.cc @@ -29,6 +29,7 @@ #include "net/base/cookie_policy.h" #include "testing/gtest/include/gtest/gtest.h" +#include "googleurl/src/gurl.h" namespace { @@ -112,4 +113,4 @@ TEST_F(CookiePolicyTest, BlockAllCookiesTest) { EXPECT_FALSE(cp.CanSetCookie(url_google_, url_google_mail_)); EXPECT_FALSE(cp.CanSetCookie(url_google_, url_google_analytics_)); EXPECT_FALSE(cp.CanSetCookie(url_google_, GURL())); -}
\ No newline at end of file +} |