summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/download_item_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/download_item_view.h')
-rw-r--r--chrome/browser/views/download_item_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/download_item_view.h b/chrome/browser/views/download_item_view.h
index 4cd805f..730b425 100644
--- a/chrome/browser/views/download_item_view.h
+++ b/chrome/browser/views/download_item_view.h
@@ -20,6 +20,7 @@
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
+#include "base/time.h"
#include "base/timer.h"
#include "chrome/common/gfx/chrome_font.h"
#include "chrome/common/slide_animation.h"
@@ -228,6 +229,9 @@ class DownloadItemView : public views::ButtonListener,
// Whether we are currently disabled as part of opening the downloaded file.
bool disabled_while_opening_;
+ // The time at which this view was created.
+ base::Time creation_time_;
+
// Method factory used to delay reenabling of the item when opening the
// downloaded file.
ScopedRunnableMethodFactory<DownloadItemView> reenable_method_factory_;