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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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
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_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "ui/shell_dialogs/select_file_dialog.h" 9 #include "ui/shell_dialogs/select_file_dialog.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const FileSelectedCallback& callback); 43 const FileSelectedCallback& callback);
44 virtual ~DownloadFilePicker(); 44 virtual ~DownloadFilePicker();
45 45
46 // Runs |file_selected_callback_| with |virtual_path| and then deletes this 46 // Runs |file_selected_callback_| with |virtual_path| and then deletes this
47 // object. 47 // object.
48 void OnFileSelected(const base::FilePath& virtual_path); 48 void OnFileSelected(const base::FilePath& virtual_path);
49 49
50 // SelectFileDialog::Listener implementation. 50 // SelectFileDialog::Listener implementation.
51 virtual void FileSelected(const base::FilePath& path, 51 virtual void FileSelected(const base::FilePath& path,
52 int index, 52 int index,
53 void* params) OVERRIDE; 53 void* params) override;
54 virtual void FileSelectionCanceled(void* params) OVERRIDE; 54 virtual void FileSelectionCanceled(void* params) override;
55 55
56 // Initially suggested path. 56 // Initially suggested path.
57 base::FilePath suggested_path_; 57 base::FilePath suggested_path_;
58 58
59 // Callback invoked when a file selection is complete. 59 // Callback invoked when a file selection is complete.
60 FileSelectedCallback file_selected_callback_; 60 FileSelectedCallback file_selected_callback_;
61 61
62 // For managing select file dialogs. 62 // For managing select file dialogs.
63 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; 63 scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
64 64
65 // True if UMA regarding on the result of the file selection should be 65 // True if UMA regarding on the result of the file selection should be
66 // recorded. 66 // recorded.
67 bool should_record_file_picker_result_; 67 bool should_record_file_picker_result_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker); 69 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker);
70 }; 70 };
71 71
72 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ 72 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_dir_policy_handler_unittest.cc ('k') | chrome/browser/download/download_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698