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

Unified Diff: chrome/common/thumbnail_score.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/common/thumbnail_score.h
===================================================================
--- chrome/common/thumbnail_score.h (revision 3954)
+++ chrome/common/thumbnail_score.h (working copy)
@@ -19,7 +19,7 @@
// Builds a ThumbnailScore with the passed in values.
ThumbnailScore(double score, bool clipping, bool top,
- const Time& time);
+ const base::Time& time);
~ThumbnailScore();
// Tests for equivalence between two ThumbnailScore objects.
@@ -46,7 +46,7 @@
// Record the time when a thumbnail was taken. This is used to make
// sure thumbnails are kept fresh.
- Time time_at_snapshot;
+ base::Time time_at_snapshot;
// How bad a thumbnail needs to be before we completely ignore it.
static const double kThumbnailMaximumBoringness;
@@ -54,7 +54,7 @@
// Time before we take a worse thumbnail (subject to
// kThumbnailMaximumBoringness) over what's currently in the database
// for freshness.
- static const TimeDelta kUpdateThumbnailTime;
+ static const base::TimeDelta kUpdateThumbnailTime;
// Penalty of how much more boring a thumbnail should be per hour.
static const double kThumbnailDegradePerHour;

Powered by Google App Engine
This is Rietveld 408576698