summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/text_database.h
diff options
context:
space:
mode:
authordsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 20:43:33 +0000
committerdsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 20:43:33 +0000
commite1acf6f902e50222baf99bfb492ecc38a1604975 (patch)
tree503d45705b14be7e2f1ed86c71d6064abbf90fbe /chrome/browser/history/text_database.h
parenta2f5993e1ce940e8a8eec900abaeed02e2eee09b (diff)
downloadchromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.zip
chromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.tar.gz
chromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.tar.bz2
Move Time, TimeDelta and TimeTicks into namespace base.
Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/text_database.h')
-rw-r--r--chrome/browser/history/text_database.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/history/text_database.h b/chrome/browser/history/text_database.h
index bba9a8f..5c76086 100644
--- a/chrome/browser/history/text_database.h
+++ b/chrome/browser/history/text_database.h
@@ -36,7 +36,7 @@ class TextDatabase {
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 @@ class TextDatabase {
// 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 @@ class TextDatabase {
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.