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

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

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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
Index: chrome/browser/history/visit_database.h
===================================================================
--- chrome/browser/history/visit_database.h (revision 3954)
+++ chrome/browser/history/visit_database.h (working copy)
@@ -61,8 +61,8 @@
// is used for history expiration.)
//
// The results will be in increasing order of date.
- void GetAllVisitsInRange(Time begin_time, Time end_time, int max_results,
- VisitVector* visits);
+ void GetAllVisitsInRange(base::Time begin_time, base::Time end_time,
+ int max_results, VisitVector* visits);
// Fills all visits in the given time range into the given vector that should
// be user-visible, which excludes things like redirects and subframes. The
@@ -75,7 +75,7 @@
//
// When |most_recent_visit_only| is set, only one visit for each URL will be
// returned, and it will be the most recent one in the time range.
- void GetVisibleVisitsInRange(Time begin_time, Time end_time,
+ void GetVisibleVisitsInRange(base::Time begin_time, base::Time end_time,
bool most_recent_visit_only,
int max_count,
VisitVector* visits);
@@ -116,7 +116,8 @@
// schemes are ignored and false is returned).
// count is set to the number of visits, first_visit is set to the first time
// the host was visited. Returns true on success.
- bool GetVisitCountToHost(const GURL& url, int* count, Time* first_visit);
+ bool GetVisitCountToHost(const GURL& url, int* count,
+ base::Time* first_visit);
protected:
// Returns the database and statement cache for the functions in this
@@ -144,4 +145,3 @@
} // history
#endif // CHROME_BROWSER_HISTORY_VISIT_DATABASE_H__
-

Powered by Google App Engine
This is Rietveld 408576698