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

Side by Side Diff: chrome/installer/util/chrome_binaries_operations.h

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 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_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
6 #define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ 6 #define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/installer/util/product_operations.h" 10 #include "chrome/installer/util/product_operations.h"
11 11
12 namespace installer { 12 namespace installer {
13 13
14 // Operations specific to the Chrome Binaries; see ProductOperations for general 14 // Operations specific to the Chrome Binaries; see ProductOperations for general
15 // info. 15 // info.
16 class ChromeBinariesOperations : public ProductOperations { 16 class ChromeBinariesOperations : public ProductOperations {
17 public: 17 public:
18 ChromeBinariesOperations() {} 18 ChromeBinariesOperations() {}
19 19
20 virtual void ReadOptions(const MasterPreferences& prefs, 20 void ReadOptions(const MasterPreferences& prefs,
21 std::set<base::string16>* options) const override; 21 std::set<base::string16>* options) const override;
22 22
23 virtual void ReadOptions(const base::CommandLine& uninstall_command, 23 void ReadOptions(const base::CommandLine& uninstall_command,
24 std::set<base::string16>* options) const override; 24 std::set<base::string16>* options) const override;
25 25
26 virtual void AddKeyFiles( 26 void AddKeyFiles(const std::set<base::string16>& options,
27 const std::set<base::string16>& options, 27 std::vector<base::FilePath>* key_files) const override;
28 std::vector<base::FilePath>* key_files) const override;
29 28
30 virtual void AddComDllList( 29 void AddComDllList(const std::set<base::string16>& options,
31 const std::set<base::string16>& options, 30 std::vector<base::FilePath>* com_dll_list) const override;
32 std::vector<base::FilePath>* com_dll_list) const override;
33 31
34 virtual void AppendProductFlags(const std::set<base::string16>& options, 32 void AppendProductFlags(const std::set<base::string16>& options,
35 base::CommandLine* cmd_line) const override; 33 base::CommandLine* cmd_line) const override;
36 34
37 virtual void AppendRenameFlags(const std::set<base::string16>& options, 35 void AppendRenameFlags(const std::set<base::string16>& options,
38 base::CommandLine* cmd_line) const override; 36 base::CommandLine* cmd_line) const override;
39 37
40 virtual bool SetChannelFlags(const std::set<base::string16>& options, 38 bool SetChannelFlags(const std::set<base::string16>& options,
41 bool set, 39 bool set,
42 ChannelInfo* channel_info) const override; 40 ChannelInfo* channel_info) const override;
43 41
44 virtual bool ShouldCreateUninstallEntry( 42 bool ShouldCreateUninstallEntry(
45 const std::set<base::string16>& options) const override; 43 const std::set<base::string16>& options) const override;
46 44
47 virtual void AddDefaultShortcutProperties( 45 void AddDefaultShortcutProperties(
48 BrowserDistribution* dist, 46 BrowserDistribution* dist,
49 const base::FilePath& target_exe, 47 const base::FilePath& target_exe,
50 ShellUtil::ShortcutProperties* properties) const override; 48 ShellUtil::ShortcutProperties* properties) const override;
51 49
52 virtual void LaunchUserExperiment(const base::FilePath& setup_path, 50 void LaunchUserExperiment(const base::FilePath& setup_path,
53 const std::set<base::string16>& options, 51 const std::set<base::string16>& options,
54 InstallStatus status, 52 InstallStatus status,
55 bool system_level) const override; 53 bool system_level) const override;
56 54
57 private: 55 private:
58 DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations); 56 DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations);
59 }; 57 };
60 58
61 } // namespace installer 59 } // namespace installer
62 60
63 #endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ 61 #endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/callback_work_item.h ('k') | chrome/installer/util/chrome_browser_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698