OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/download/download_target_info.h" | 15 #include "chrome/browser/download/download_target_info.h" |
16 #include "chrome/common/safe_browsing/download_file_types.pb.h" | 16 #include "chrome/common/safe_browsing/download_file_types.pb.h" |
17 | 17 |
18 class SavePackage; | |
19 | |
20 namespace content { | 18 namespace content { |
21 class DownloadItem; | 19 class DownloadItem; |
22 } | 20 } |
23 | 21 |
24 namespace gfx { | 22 namespace gfx { |
25 class FontList; | 23 class FontList; |
26 } | 24 } |
27 | 25 |
28 // This class is an abstraction for common UI tasks and properties associated | 26 // This class is an abstraction for common UI tasks and properties associated |
29 // with a DownloadItem. | 27 // with a DownloadItem. |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 178 |
181 // The DownloadItem that this model represents. Note that DownloadItemModel | 179 // The DownloadItem that this model represents. Note that DownloadItemModel |
182 // itself shouldn't maintain any state since there can be more than one | 180 // itself shouldn't maintain any state since there can be more than one |
183 // DownloadItemModel in use with the same DownloadItem. | 181 // DownloadItemModel in use with the same DownloadItem. |
184 content::DownloadItem* download_; | 182 content::DownloadItem* download_; |
185 | 183 |
186 DISALLOW_COPY_AND_ASSIGN(DownloadItemModel); | 184 DISALLOW_COPY_AND_ASSIGN(DownloadItemModel); |
187 }; | 185 }; |
188 | 186 |
189 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ | 187 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_MODEL_H_ |
OLD | NEW |