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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.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_service.h
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.h (revision 3954)
+++ chrome/browser/safe_browsing/safe_browsing_service.h (working copy)
@@ -118,8 +118,8 @@
GURL url;
Client* client;
bool need_get_hash;
- Time start; // Time that check was sent to SB service.
- TimeDelta db_time; // How long DB look-up took.
+ base::Time start; // Time that check was sent to SB service.
+ base::TimeDelta db_time; // How long DB look-up took.
UrlCheckResult result;
std::vector<SBPrefix> prefix_hits;
std::vector<SBFullHashResult> full_hits;
@@ -161,7 +161,7 @@
// delta starting from when we would have started reading data from the
// network, and ending when the SafeBrowsing check completes indicating that
// the current page is 'safe'.
- static void LogPauseDelay(TimeDelta time);
+ static void LogPauseDelay(base::TimeDelta time);
// We defer SafeBrowsing work for a short duration when the computer comes
// out of a suspend state to avoid thrashing the disk.
@@ -174,7 +174,7 @@
SafeBrowsingDatabase* GetDatabase();
// Called on the database thread to check a url.
- void CheckDatabase(SafeBrowsingCheck* info, Time last_update);
+ void CheckDatabase(SafeBrowsingCheck* info, base::Time last_update);
// Called on the IO thread with the check result.
void OnCheckDone(SafeBrowsingCheck* info);

Powered by Google App Engine
This is Rietveld 408576698