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

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

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
7 7
8 #include "chrome/browser/download/download_file_picker.h" 8 #include "chrome/browser/download/download_file_picker.h"
9 9
10 class DownloadFilePickerChromeOS : public DownloadFilePicker { 10 class DownloadFilePickerChromeOS : public DownloadFilePicker {
11 public: 11 public:
12 DownloadFilePickerChromeOS(); 12 DownloadFilePickerChromeOS();
13 virtual ~DownloadFilePickerChromeOS(); 13 virtual ~DownloadFilePickerChromeOS();
14 14
15 private: 15 private:
16 // SelectFileDialog::Listener implementation. 16 // SelectFileDialog::Listener implementation.
17 virtual void FileSelected(const FilePath& path, 17 virtual void FileSelected(const FilePath& path,
18 int index, 18 int index,
19 void* params) OVERRIDE; 19 void* params) OVERRIDE;
20 20
21 // DownloadFilePicker implementation. 21 // DownloadFilePicker implementation.
22 // This looks up the gdata path instead of the temporary local path. 22 // This looks up the gdata path instead of the temporary local path.
23 virtual void InitSuggestedPath(content::DownloadItem* item) OVERRIDE; 23 virtual void InitSuggestedPath(content::DownloadItem* item,
24 const FilePath& suggested_path) OVERRIDE;
24 25
25 DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS); 26 DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS);
26 }; 27 };
27 28
28 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__ 29 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698