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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database_impl.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/safe_browsing/safe_browsing_database_impl.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_database_impl.h (revision 3954)
+++ chrome/browser/safe_browsing/safe_browsing_database_impl.h (working copy)
@@ -46,7 +46,7 @@
std::string* matching_list,
std::vector<SBPrefix>* prefix_hits,
std::vector<SBFullHashResult>* full_hits,
- Time last_update);
+ base::Time last_update);
// Processes add/sub commands. Database will free the chunks when it's done.
virtual void InsertChunks(const std::string& list_name,
@@ -185,7 +185,7 @@
// Looks up any cached full hashes we may have.
void GetCachedFullHashes(const std::vector<SBPrefix>* prefix_hits,
std::vector<SBFullHashResult>* full_hits,
- Time last_update);
+ base::Time last_update);
// Remove cached entries that have prefixes contained in the entry.
void ClearCachedHashes(const SBEntry* entry);
@@ -225,7 +225,7 @@
// These are temp variables used when rebuilding the bloom filter.
bool bloom_filter_building_;
std::vector<int> bloom_filter_temp_hostkeys_;
- Time bloom_filter_rebuild_time_;
+ base::Time bloom_filter_rebuild_time_;
// Used to store throttled work for commands that write to the database.
std::queue<std::deque<SBChunk>*> pending_chunks_;
@@ -264,7 +264,7 @@
SBFullHash full_hash;
int list_id;
int add_chunk_id;
- Time received;
+ base::Time received;
} HashCacheEntry;
typedef std::list<HashCacheEntry> HashList;

Powered by Google App Engine
This is Rietveld 408576698