summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_unittest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 21:14:50 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 21:14:50 +0000
commitc96d2673e03f87d0a39efe047df517a87fdd9ec7 (patch)
tree75e2362bcae09b90598fa2c17a19c6ad5c9306bf /chrome/browser/visitedlink_unittest.cc
parent041591e177a759271eaf6b334a87f678bb2e9d62 (diff)
downloadchromium_src-c96d2673e03f87d0a39efe047df517a87fdd9ec7.zip
chromium_src-c96d2673e03f87d0a39efe047df517a87fdd9ec7.tar.gz
chromium_src-c96d2673e03f87d0a39efe047df517a87fdd9ec7.tar.bz2
Revert 56742 - A new field to describe the sources of history urls(visits) is added. This field is recorded in visit_database.
So far, it can tell imported, synchronized, entension added or other(mainly testing) entries from user browsed entries. In the future, history extension API may allow queries to combinate with this criterion. BUG=none TEST=Unit tests are already included. Please test the web browser with history from previous versions to make sure the migration could be done properly. Also try to import or sync some history and inspect the sources added to the visit_source table in hitory database are correct. Original review=http://codereview.chromium.org/2906004/show Patch by weili@google.com TBR=brettw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_unittest.cc')
-rw-r--r--chrome/browser/visitedlink_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/visitedlink_unittest.cc b/chrome/browser/visitedlink_unittest.cc
index b534c41..c69c745 100644
--- a/chrome/browser/visitedlink_unittest.cc
+++ b/chrome/browser/visitedlink_unittest.cc
@@ -371,7 +371,7 @@ TEST_F(VisitedLinkTest, Rebuild) {
// initialize the visited link DB.
int history_count = g_test_count / 2;
for (int i = 0; i < history_count; i++)
- history_service_->AddPage(TestURL(i), history::SOURCE_BROWSED);
+ history_service_->AddPage(TestURL(i));
// Initialize the visited link DB. Since the visited links file doesn't exist
// and we don't suppress history rebuilding, this will load from history.