Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: chrome/browser/download/download_file_picker_chromeos.h

Issue 12850002: Move download filename determintion into a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests on Android Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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__
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file_picker.cc ('k') | chrome/browser/download/download_file_picker_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698