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 "chrome/browser/download/download_file_picker.h" | 5 #include "chrome/browser/download/download_file_picker.h" |
6 | 6 |
7 #include "chrome/browser/download/download_manager.h" | |
benjhayden
2011/08/19 15:23:10
Looks like you forgot to add content/b/d/d_m.h, an
| |
8 #include "chrome/browser/download/download_prefs.h" | 7 #include "chrome/browser/download/download_prefs.h" |
9 #include "chrome/browser/platform_util.h" | 8 #include "chrome/browser/platform_util.h" |
10 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
11 #include "content/browser/download/save_package.h" | 10 #include "content/browser/download/save_package.h" |
12 #include "content/browser/tab_contents/tab_contents.h" | 11 #include "content/browser/tab_contents/tab_contents.h" |
13 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
14 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
15 | 14 |
16 DownloadFilePicker::DownloadFilePicker( | 15 DownloadFilePicker::DownloadFilePicker( |
17 DownloadManager* download_manager, | 16 DownloadManager* download_manager, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 if (download_manager_) | 53 if (download_manager_) |
55 download_manager_->FileSelected(path, params); | 54 download_manager_->FileSelected(path, params); |
56 delete this; | 55 delete this; |
57 } | 56 } |
58 | 57 |
59 void DownloadFilePicker::FileSelectionCanceled(void* params) { | 58 void DownloadFilePicker::FileSelectionCanceled(void* params) { |
60 if (download_manager_) | 59 if (download_manager_) |
61 download_manager_->FileSelectionCanceled(params); | 60 download_manager_->FileSelectionCanceled(params); |
62 delete this; | 61 delete this; |
63 } | 62 } |
OLD | NEW |