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

Unified Diff: chrome/browser/download/download_file_picker_chromeos.h

Issue 14773004: Move download filename determination into a separate class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_file_picker_chromeos.h
diff --git a/chrome/browser/download/download_file_picker_chromeos.h b/chrome/browser/download/download_file_picker_chromeos.h
deleted file mode 100644
index 2d97318fb825099f0448776ca296b18c2e64bf6f..0000000000000000000000000000000000000000
--- a/chrome/browser/download/download_file_picker_chromeos.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
-#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__
-
-#include "chrome/browser/download/download_file_picker.h"
-
-namespace ui {
-struct SelectedFileInfo;
-}
-
-class DownloadFilePickerChromeOS : public DownloadFilePicker {
- public:
- DownloadFilePickerChromeOS();
- virtual ~DownloadFilePickerChromeOS();
-
- private:
- // SelectFileDialog::Listener implementation.
- virtual void FileSelected(const base::FilePath& path,
- int index,
- void* params) OVERRIDE;
- virtual void FileSelectedWithExtraInfo(
- const ui::SelectedFileInfo& file_info,
- int index,
- void* params) OVERRIDE;
-
- // DownloadFilePicker implementation.
- // This looks up the gdata path instead of the temporary local path.
- virtual void InitSuggestedPath(content::DownloadItem* item,
- const base::FilePath& suggested_path) OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(DownloadFilePickerChromeOS);
-};
-
-#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_CHROMEOS_H__

Powered by Google App Engine
This is Rietveld 408576698