Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4130)

Unified Diff: chrome/browser/visitedlink_unittest.cc

Issue 149185: Ensure that VisitedLink listener Add event only fires when new fingerprint is... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Fixed the comment. Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/visitedlink_unittest.cc
===================================================================
--- chrome/browser/visitedlink_unittest.cc (revision 19910)
+++ chrome/browser/visitedlink_unittest.cc (working copy)
@@ -206,11 +206,11 @@
const VisitedLinkCommon::Fingerprint kFingerprint2 = kInitialSize * 2 + 14;
const VisitedLinkCommon::Fingerprint kFingerprint3 = kInitialSize * 3 + 14;
const VisitedLinkCommon::Fingerprint kFingerprint4 = kInitialSize * 4 + 14;
- master_->AddFingerprint(kFingerprint0); // @14
- master_->AddFingerprint(kFingerprint1); // @15
- master_->AddFingerprint(kFingerprint2); // @16
- master_->AddFingerprint(kFingerprint3); // @0
- master_->AddFingerprint(kFingerprint4); // @1
+ master_->AddFingerprint(kFingerprint0, false); // @14
+ master_->AddFingerprint(kFingerprint1, false); // @15
+ master_->AddFingerprint(kFingerprint2, false); // @16
+ master_->AddFingerprint(kFingerprint3, false); // @0
+ master_->AddFingerprint(kFingerprint4, false); // @1
// Deleting 14 should move the next value up one slot (we do not specify an
// order).
« no previous file with comments | « chrome/browser/visitedlink_master.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698