| 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 CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "content/browser/download/save_types.h" | 10 #include "content/browser/download/save_types.h" |
| 11 #include "content/public/common/referrer.h" | 11 #include "content/public/common/referrer.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 class SavePackage; | 15 class SavePackage; |
| 16 | 16 |
| 17 // One SaveItem per save file. This is the model class that stores all the | 17 // One SaveItem per save file. This is the model class that stores all the |
| 18 // state for one save file. | 18 // state for one save file. |
| 19 class SaveItem { | 19 class SaveItem { |
| 20 public: | 20 public: |
| 21 enum SaveState { | 21 enum SaveState { |
| 22 WAIT_START, | 22 WAIT_START, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 // Our owning object. | 107 // Our owning object. |
| 108 SavePackage* package_; | 108 SavePackage* package_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(SaveItem); | 110 DISALLOW_COPY_AND_ASSIGN(SaveItem); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace content | 113 } // namespace content |
| 114 | 114 |
| 115 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ | 115 #endif // CONTENT_BROWSER_DOWNLOAD_SAVE_ITEM_H_ |
| OLD | NEW |