Chromium Code Reviews| Index: chrome/browser/ui/views/download/download_item_view.h |
| diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h |
| index 9920bc47e3d7b8739bf3ab88e3edc125b6a6e1af..14f07aaf428fb70d80cb37f8f9e54842ce13a532 100644 |
| --- a/chrome/browser/ui/views/download/download_item_view.h |
| +++ b/chrome/browser/ui/views/download/download_item_view.h |
| @@ -38,6 +38,10 @@ |
| class DownloadShelfView; |
| class DownloadShelfContextMenuView; |
| +namespace extensions { |
| +class ExperienceSamplingEvent; |
| +} |
| + |
| namespace gfx { |
| class Image; |
| class ImageSkia; |
| @@ -339,6 +343,9 @@ class DownloadItemView : public views::ButtonListener, |
| // and reload the icon. |
| base::FilePath last_download_item_path_; |
| + // ExperienceSampling: This maintains event state. |
|
msw
2014/08/13 20:11:38
This comment doesn't really add much value... expl
Chris Thompson
2014/08/13 21:18:00
Good point. I've rewritten the comment to explain
|
| + scoped_ptr<extensions::ExperienceSamplingEvent> sampling_event_; |
|
msw
2014/08/13 20:11:38
Why isn't all this done at the cross-platform Down
asanka
2014/08/13 20:59:30
Yeah. chrome://downloads also provides a UI surfac
Chris Thompson
2014/08/13 21:18:00
sampling_event_ should live until the user makes a
Chris Thompson
2014/08/13 21:18:00
Simpler, cross-platform implementation would be id
msw
2014/08/14 01:48:33
I wonder if it'd take just a couple new DownloadIt
|
| + |
| DISALLOW_COPY_AND_ASSIGN(DownloadItemView); |
| }; |