OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/download_item_model.h" | 5 #include "chrome/browser/download/download_item_model.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "chrome/browser/download_manager.h" | 8 #include "chrome/browser/download/download_manager.h" |
9 #include "chrome/common/l10n_util.h" | 9 #include "chrome/common/l10n_util.h" |
10 #include "chrome/common/time_format.h" | 10 #include "chrome/common/time_format.h" |
11 | 11 |
12 #include "generated_resources.h" | 12 #include "generated_resources.h" |
13 | 13 |
14 DownloadItemModel::DownloadItemModel(DownloadItem* download) | 14 DownloadItemModel::DownloadItemModel(DownloadItem* download) |
15 : download_(download) { | 15 : download_(download) { |
16 } | 16 } |
17 | 17 |
18 void DownloadItemModel::CancelTask() { | 18 void DownloadItemModel::CancelTask() { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 break; | 80 break; |
81 case DownloadItem::REMOVING: | 81 case DownloadItem::REMOVING: |
82 break; | 82 break; |
83 default: | 83 default: |
84 NOTREACHED(); | 84 NOTREACHED(); |
85 } | 85 } |
86 | 86 |
87 return status_text; | 87 return status_text; |
88 } | 88 } |
89 | 89 |
OLD | NEW |