| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ | |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ | |
| 7 | |
| 8 #include "chrome/browser/download/download_file_picker.h" | |
| 9 | |
| 10 namespace ui { | |
| 11 struct SelectedFileInfo; | |
| 12 } | |
| 13 | |
| 14 class DownloadFilePickerChromeOS : public DownloadFilePicker { | |
| 15 public: | |
| 16 DownloadFilePickerChromeOS(); | |
| 17 virtual ~DownloadFilePickerChromeOS(); | |
| 18 | |
| 19 private: | |
| 20 // SelectFileDialog::Listener implementation. | |
| 21 virtual void FileSelected(const base::FilePath& path, | |
| 22 int index, | |
| 23 void* params) OVERRIDE; | |
| 24 virtual void FileSelectedWithExtraInfo( | |
| 25 const ui::SelectedFileInfo& file_info, | |
| 26 int index, | |
| 27 void* params) OVERRIDE; | |
| 28 | |
| 29 // DownloadFilePicker implementation. | |
| 30 // This looks up the gdata path instead of the temporary local path. | |
| 31 virtual void InitSuggestedPath(content::DownloadItem* item, | |
| 32 const base::FilePath& suggested_path) OVERRIDE; | |
| 33 | |
| 34 DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS); | |
| 35 }; | |
| 36 | |
| 37 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ | |
| OLD | NEW |