OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/save_package.h" | 5 #include "chrome/browser/download/save_package.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/i18n/file_util_icu.h" |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
11 #include "base/stl_util-inl.h" | 12 #include "base/stl_util-inl.h" |
12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
13 #include "base/task.h" | 14 #include "base/task.h" |
14 #include "base/thread.h" | 15 #include "base/thread.h" |
15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/download/download_item_model.h" | 17 #include "chrome/browser/download/download_item_model.h" |
17 #include "chrome/browser/download/download_manager.h" | 18 #include "chrome/browser/download/download_manager.h" |
18 #include "chrome/browser/download/download_shelf.h" | 19 #include "chrome/browser/download/download_shelf.h" |
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 int index, void* params) { | 1221 int index, void* params) { |
1221 SavePackageParam* save_params = reinterpret_cast<SavePackageParam*>(params); | 1222 SavePackageParam* save_params = reinterpret_cast<SavePackageParam*>(params); |
1222 ContinueSave(save_params, path, index); | 1223 ContinueSave(save_params, path, index); |
1223 delete save_params; | 1224 delete save_params; |
1224 } | 1225 } |
1225 | 1226 |
1226 void SavePackage::FileSelectionCanceled(void* params) { | 1227 void SavePackage::FileSelectionCanceled(void* params) { |
1227 SavePackageParam* save_params = reinterpret_cast<SavePackageParam*>(params); | 1228 SavePackageParam* save_params = reinterpret_cast<SavePackageParam*>(params); |
1228 delete save_params; | 1229 delete save_params; |
1229 } | 1230 } |
OLD | NEW |