OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/shell/shell_download_manager_delegate.h" | 5 #include "content/shell/shell_download_manager_delegate.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <commdlg.h> | 9 #include <commdlg.h> |
10 #endif | 10 #endif |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "content/browser/browser_context.h" | 17 #include "content/browser/browser_context.h" |
18 #include "content/browser/browser_thread.h" | |
19 #include "content/browser/tab_contents/tab_contents.h" | |
20 #include "content/browser/download/download_manager.h" | 18 #include "content/browser/download/download_manager.h" |
21 #include "content/browser/download/download_state_info.h" | 19 #include "content/browser/download/download_state_info.h" |
| 20 #include "content/browser/tab_contents/tab_contents.h" |
| 21 #include "content/public/browser/browser_thread.h" |
22 #include "net/base/net_util.h" | 22 #include "net/base/net_util.h" |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 ShellDownloadManagerDelegate::ShellDownloadManagerDelegate() | 26 ShellDownloadManagerDelegate::ShellDownloadManagerDelegate() |
27 : download_manager_(NULL) { | 27 : download_manager_(NULL) { |
28 } | 28 } |
29 | 29 |
30 ShellDownloadManagerDelegate::~ShellDownloadManagerDelegate(){ | 30 ShellDownloadManagerDelegate::~ShellDownloadManagerDelegate(){ |
31 } | 31 } |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 void ShellDownloadManagerDelegate::ChooseSavePath( | 200 void ShellDownloadManagerDelegate::ChooseSavePath( |
201 const base::WeakPtr<SavePackage>& save_package, | 201 const base::WeakPtr<SavePackage>& save_package, |
202 const FilePath& suggested_path, | 202 const FilePath& suggested_path, |
203 bool can_save_as_complete) { | 203 bool can_save_as_complete) { |
204 } | 204 } |
205 | 205 |
206 void ShellDownloadManagerDelegate::DownloadProgressUpdated() { | 206 void ShellDownloadManagerDelegate::DownloadProgressUpdated() { |
207 } | 207 } |
208 | 208 |
209 } // namespace content | 209 } // namespace content |
OLD | NEW |