OLD | NEW |
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 // This file declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
6 | 6 |
7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
8 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
9 | 9 |
10 #include "chrome/installer/util/chromium_binaries_distribution.h" | 10 #include "chrome/installer/util/chromium_binaries_distribution.h" |
11 | 11 |
12 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution { | 12 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution { |
13 public: | 13 public: |
14 virtual base::string16 GetDisplayName(); | 14 base::string16 GetDisplayName() override; |
15 | 15 |
16 virtual base::string16 GetShortcutName(ShortcutType shortcut_type); | 16 base::string16 GetShortcutName(ShortcutType shortcut_type) override; |
17 | 17 |
18 virtual void UpdateInstallStatus(bool system_install, | 18 void UpdateInstallStatus(bool system_install, |
19 installer::ArchiveType archive_type, | 19 installer::ArchiveType archive_type, |
20 installer::InstallStatus install_status); | 20 installer::InstallStatus install_status) override; |
21 | 21 |
22 protected: | 22 protected: |
23 friend class BrowserDistribution; | 23 friend class BrowserDistribution; |
24 | 24 |
25 GoogleChromeBinariesDistribution(); | 25 GoogleChromeBinariesDistribution(); |
26 | 26 |
27 private: | 27 private: |
28 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); | 28 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); |
29 }; | 29 }; |
30 | 30 |
31 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 31 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
OLD | NEW |