From e13ad79b6359b68fbefcd589806cf59106cc2ca7 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Thu, 22 Jul 2010 21:36:50 +0000 Subject: Continual header pruning BUG=none TEST=none Review URL: http://codereview.chromium.org/3029019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53391 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/visitedlink_common.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'chrome/common/visitedlink_common.h') diff --git a/chrome/common/visitedlink_common.h b/chrome/common/visitedlink_common.h index 0e79c04..546bd4f 100644 --- a/chrome/common/visitedlink_common.h +++ b/chrome/common/visitedlink_common.h @@ -5,12 +5,11 @@ #ifndef CHROME_COMMON_VISITEDLINK_COMMON_H__ #define CHROME_COMMON_VISITEDLINK_COMMON_H__ -#include #include #include "base/basictypes.h" -#include "base/logging.h" -#include "googleurl/src/gurl.h" + +class GURL; // number of bytes in the salt #define LINK_SALT_LENGTH 8 @@ -67,9 +66,7 @@ class VisitedLinkCommon { // computed if you call one with the string argument. Returns true if found. // Does not modify the hastable. bool IsVisited(const char* canonical_url, size_t url_len) const; - bool IsVisited(const GURL& url) const { - return IsVisited(url.spec().data(), url.spec().size()); - } + bool IsVisited(const GURL& url) const; bool IsVisited(Fingerprint fingerprint) const; #ifdef UNIT_TEST -- cgit v1.1