summaryrefslogtreecommitdiffstats
path: root/chrome/common/visitedlink_common.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 21:36:50 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 21:36:50 +0000
commite13ad79b6359b68fbefcd589806cf59106cc2ca7 (patch)
tree8861180be5e29811786e198cbde4b246a3806408 /chrome/common/visitedlink_common.h
parentf6798320c6e4c14b7bb14b15fd7f1587e07d1e51 (diff)
downloadchromium_src-e13ad79b6359b68fbefcd589806cf59106cc2ca7.zip
chromium_src-e13ad79b6359b68fbefcd589806cf59106cc2ca7.tar.gz
chromium_src-e13ad79b6359b68fbefcd589806cf59106cc2ca7.tar.bz2
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
Diffstat (limited to 'chrome/common/visitedlink_common.h')
-rw-r--r--chrome/common/visitedlink_common.h9
1 files changed, 3 insertions, 6 deletions
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 <string>
#include <vector>
#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