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

Unified Diff: chrome/browser/history/text_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/text_database.h
===================================================================
--- chrome/browser/history/text_database.h (revision 3954)
+++ chrome/browser/history/text_database.h (working copy)
@@ -36,7 +36,7 @@
std::wstring title;
// Time the page that was returned was visited.
- Time time;
+ base::Time time;
// Identifies any found matches in the title of the document. These are not
// included in the snippet.
@@ -98,13 +98,13 @@
// Adds the given data to the page. Returns true on success. The data should
// already be converted to UTF-8.
- bool AddPageData(Time time,
+ bool AddPageData(base::Time time,
const std::string& url,
const std::string& title,
const std::string& contents);
// Deletes the indexed data exactly matching the given URL/time pair.
- void DeletePageData(Time time, const std::string& url);
+ void DeletePageData(base::Time time, const std::string& url);
// Optimizes the tree inside the database. This will, in addition to making
// access faster, remove any deleted data from the database (normally it is
@@ -133,7 +133,7 @@
const QueryOptions& options,
std::vector<Match>* results,
URLSet* unique_urls,
- Time* first_time_searched);
+ base::Time* first_time_searched);
// Converts the given database identifier to a filename. This does not include
// the path, just the file and extension.

Powered by Google App Engine
This is Rietveld 408576698