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

Side by Side Diff: chrome/browser/download/save_package_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_SAVE_PACKAGE_FILE_PICKER_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_ 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 16 matching lines...) Expand all
27 virtual ~SavePackageFilePicker(); 27 virtual ~SavePackageFilePicker();
28 28
29 // Used to disable prompting the user for a directory/filename of the saved 29 // Used to disable prompting the user for a directory/filename of the saved
30 // web page. This is available for testing. 30 // web page. This is available for testing.
31 static void SetShouldPromptUser(bool should_prompt); 31 static void SetShouldPromptUser(bool should_prompt);
32 32
33 private: 33 private:
34 // SelectFileDialog::Listener implementation. 34 // SelectFileDialog::Listener implementation.
35 virtual void FileSelected(const base::FilePath& path, 35 virtual void FileSelected(const base::FilePath& path,
36 int index, 36 int index,
37 void* unused_params) OVERRIDE; 37 void* unused_params) override;
38 virtual void FileSelectionCanceled(void* unused_params) OVERRIDE; 38 virtual void FileSelectionCanceled(void* unused_params) override;
39 39
40 bool ShouldSaveAsMHTML() const; 40 bool ShouldSaveAsMHTML() const;
41 41
42 // Used to look up the renderer process for this request to get the context. 42 // Used to look up the renderer process for this request to get the context.
43 int render_process_id_; 43 int render_process_id_;
44 44
45 // Whether the web page can be saved as a complete HTML file. 45 // Whether the web page can be saved as a complete HTML file.
46 bool can_save_as_complete_; 46 bool can_save_as_complete_;
47 47
48 DownloadPrefs* download_prefs_; 48 DownloadPrefs* download_prefs_;
49 49
50 content::SavePackagePathPickedCallback callback_; 50 content::SavePackagePathPickedCallback callback_;
51 51
52 std::vector<content::SavePageType> save_types_; 52 std::vector<content::SavePageType> save_types_;
53 53
54 // For managing select file dialogs. 54 // For managing select file dialogs.
55 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; 55 scoped_refptr<ui::SelectFileDialog> select_file_dialog_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(SavePackageFilePicker); 57 DISALLOW_COPY_AND_ASSIGN(SavePackageFilePicker);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_ 60 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PACKAGE_FILE_PICKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_ui_controller_unittest.cc ('k') | chrome/browser/download/save_page_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698