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

Unified Diff: chrome/browser/history/visit_database.h

Issue 9071014: Database usage adjustment for .../history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify SQL Created 8 years, 11 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_unittest.cc ('k') | chrome/browser/history/visit_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/visit_database.h
diff --git a/chrome/browser/history/visit_database.h b/chrome/browser/history/visit_database.h
index 62691056361a523a70805d438a369ce09ea7a975..f6fec4e26c125bedec0dbbcae52fa473c9ceed87 100644
--- a/chrome/browser/history/visit_database.h
+++ b/chrome/browser/history/visit_database.h
@@ -69,7 +69,7 @@ class VisitDatabase {
// is used for history expiration.)
//
// The results will be in increasing order of date.
- void GetAllVisitsInRange(base::Time begin_time, base::Time end_time,
+ bool GetAllVisitsInRange(base::Time begin_time, base::Time end_time,
int max_results, VisitVector* visits);
// Fills all visits with specified transition in the time range [begin, end)
@@ -81,7 +81,7 @@ class VisitDatabase {
// is used for history expiration.)
//
// The results will be in increasing order of date.
- void GetVisitsInRangeForTransition(base::Time begin_time,
+ bool GetVisitsInRangeForTransition(base::Time begin_time,
base::Time end_time,
int max_results,
content::PageTransition transition,
@@ -170,7 +170,7 @@ class VisitDatabase {
// Convenience to fill a VisitVector. Assumes that statement.step()
// hasn't happened yet.
- static void FillVisitVector(sql::Statement& statement, VisitVector* visits);
+ static bool FillVisitVector(sql::Statement& statement, VisitVector* visits);
private:
DISALLOW_COPY_AND_ASSIGN(VisitDatabase);
« no previous file with comments | « chrome/browser/history/url_database_unittest.cc ('k') | chrome/browser/history/visit_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698