summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink/visitedlink_master.h
diff options
context:
space:
mode:
authormrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 23:39:54 +0000
committermrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 23:39:54 +0000
commitd9e7a496b26c6d8a7c8daa47588f956f361af4fd (patch)
tree7029c205554d56bcd1433438dd6a822d4f319f9c /chrome/browser/visitedlink/visitedlink_master.h
parent2141ba198a50f911ec23f01e0183a6d877f29db2 (diff)
downloadchromium_src-d9e7a496b26c6d8a7c8daa47588f956f361af4fd.zip
chromium_src-d9e7a496b26c6d8a7c8daa47588f956f361af4fd.tar.gz
chromium_src-d9e7a496b26c6d8a7c8daa47588f956f361af4fd.tar.bz2
Revert 132268 - Single URL Expires Were Not Being Deleted.
Some notification clients expect URLs while others expect URLRows but in some cases the URLRows were not being provided. Eliminated the duplication of data structures by removing the set of URLs and relying only on the vector of URLRows. tim@ for OWNERS review of sync/... BUG=122740 TEST=Added unit test. TBR=tim@chromium.org Review URL: https://chromiumcodereview.appspot.com/10031028 TBR=mrossetti@chromium.org Review URL: https://chromiumcodereview.appspot.com/10086021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink/visitedlink_master.h')
-rw-r--r--chrome/browser/visitedlink/visitedlink_master.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/visitedlink/visitedlink_master.h b/chrome/browser/visitedlink/visitedlink_master.h
index 5e2afd7..1771afe 100644
--- a/chrome/browser/visitedlink/visitedlink_master.h
+++ b/chrome/browser/visitedlink/visitedlink_master.h
@@ -19,7 +19,6 @@
#include "base/shared_memory.h"
#include "base/threading/sequenced_worker_pool.h"
#include "chrome/browser/history/history.h"
-#include "chrome/browser/history/history_types.h"
#include "chrome/common/visitedlink_common.h"
class GURL;
@@ -90,8 +89,8 @@ class VisitedLinkMaster : public VisitedLinkCommon {
// Adds a set of URLs to the table.
void AddURLs(const std::vector<GURL>& url);
- // Deletes the specified URLs from |rows| from the table.
- void DeleteURLs(const history::URLRows& rows);
+ // Deletes the specified URLs from the table.
+ void DeleteURLs(const std::set<GURL>& urls);
// Clears the visited links table by deleting the file from disk. Used as
// part of history clearing.