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

Unified Diff: chrome/browser/history/url_database_unittest.cc

Issue 7618028: Tweak typed-count Usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/history/url_database.cc ('k') | chrome/test/data/History/url_history_provider_test.db.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/url_database_unittest.cc
===================================================================
--- chrome/browser/history/url_database_unittest.cc (revision 97032)
+++ chrome/browser/history/url_database_unittest.cc (working copy)
@@ -193,12 +193,12 @@
std::string url_string2("http://www.url_match_visit_count.com/");
good_urls.insert("http://www.url_match_visit_count.com/");
URLRow url_match_visit_count(GURL("http://www.url_match_visit_count.com/"));
- url_match_visit_count.set_visit_count(kLowQualityMatchVisitLimit + 1);
+ url_match_visit_count.set_visit_count(kLowQualityMatchVisitLimit);
EXPECT_TRUE(AddURL(url_match_visit_count));
good_urls.insert("http://www.url_match_typed_count.com/");
URLRow url_match_typed_count(GURL("http://www.url_match_typed_count.com/"));
- url_match_typed_count.set_typed_count(kLowQualityMatchTypedLimit + 1);
+ url_match_typed_count.set_typed_count(kLowQualityMatchTypedLimit);
EXPECT_TRUE(AddURL(url_match_typed_count));
good_urls.insert("http://www.url_match_last_visit.com/");
« no previous file with comments | « chrome/browser/history/url_database.cc ('k') | chrome/test/data/History/url_history_provider_test.db.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698