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

Side by Side Diff: chrome/browser/chrome_select_file_dialog_factory_win.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_ 5 #ifndef CHROME_BROWSER_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_
6 #define CHROME_BROWSER_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_ 6 #define CHROME_BROWSER_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "ui/shell_dialogs/select_file_dialog_factory.h" 11 #include "ui/shell_dialogs/select_file_dialog_factory.h"
12 12
13 namespace base { 13 namespace base {
14 class SequencedTaskRunner; 14 class SequencedTaskRunner;
15 } // namespace base 15 } // namespace base
16 16
17 // Implements a Select File dialog that delegates to a Metro file picker on 17 // Implements a Select File dialog that delegates to a Metro file picker on
18 // Metro and to a utility process otherwise. The utility process is used in 18 // Metro and to a utility process otherwise. The utility process is used in
19 // order to isolate the Chrome browser process from potential instability 19 // order to isolate the Chrome browser process from potential instability
20 // caused by Shell extension modules loaded by GetOpenFileName. 20 // caused by Shell extension modules loaded by GetOpenFileName.
21 class ChromeSelectFileDialogFactory : public ui::SelectFileDialogFactory { 21 class ChromeSelectFileDialogFactory : public ui::SelectFileDialogFactory {
22 public: 22 public:
23 // Uses |blocking_task_runner| to perform IPC with the utility process. 23 // Uses |blocking_task_runner| to perform IPC with the utility process.
24 explicit ChromeSelectFileDialogFactory( 24 explicit ChromeSelectFileDialogFactory(
25 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner); 25 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
26 virtual ~ChromeSelectFileDialogFactory(); 26 virtual ~ChromeSelectFileDialogFactory();
27 27
28 // ui::SelectFileDialogFactory implementation 28 // ui::SelectFileDialogFactory implementation
29 virtual ui::SelectFileDialog* Create(ui::SelectFileDialog::Listener* listener, 29 virtual ui::SelectFileDialog* Create(ui::SelectFileDialog::Listener* listener,
30 ui::SelectFilePolicy* policy) OVERRIDE; 30 ui::SelectFilePolicy* policy) override;
31 31
32 private: 32 private:
33 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 33 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(ChromeSelectFileDialogFactory); 35 DISALLOW_COPY_AND_ASSIGN(ChromeSelectFileDialogFactory);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_ 38 #endif // CHROME_BROWSER_CHROME_SELECT_FILE_DIALOG_FACTORY_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_security_exploit_browsertest.cc ('k') | chrome/browser/chrome_select_file_dialog_factory_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698