| 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/save_page_model.h" | 5 #include "chrome/browser/save_page_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/browser/save_package.h" | 9 #include "chrome/browser/save_package.h" |
| 10 #include "chrome/common/l10n_util.h" | 10 #include "chrome/common/l10n_util.h" |
| 11 | 11 |
| 12 #include "generated_resources.h" | 12 #include "generated_resources.h" |
| 13 | 13 |
| 14 SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download) | 14 SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download) |
| 15 : save_(save), | 15 : save_(save), |
| 16 download_(download) { | 16 download_(download) { |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 break; | 39 break; |
| 40 case DownloadItem::REMOVING: | 40 case DownloadItem::REMOVING: |
| 41 break; | 41 break; |
| 42 default: | 42 default: |
| 43 NOTREACHED(); | 43 NOTREACHED(); |
| 44 } | 44 } |
| 45 | 45 |
| 46 return status_text; | 46 return status_text; |
| 47 } | 47 } |
| 48 | 48 |
| OLD | NEW |