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 "base/macros.h" |
10 #include "chrome/installer/util/chromium_binaries_distribution.h" | 11 #include "chrome/installer/util/chromium_binaries_distribution.h" |
11 | 12 |
12 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution { | 13 class GoogleChromeBinariesDistribution : public ChromiumBinariesDistribution { |
13 public: | 14 public: |
14 base::string16 GetDisplayName() override; | 15 base::string16 GetDisplayName() override; |
15 | 16 |
16 base::string16 GetShortcutName(ShortcutType shortcut_type) override; | 17 base::string16 GetShortcutName(ShortcutType shortcut_type) override; |
17 | 18 |
18 void UpdateInstallStatus(bool system_install, | 19 void UpdateInstallStatus(bool system_install, |
19 installer::ArchiveType archive_type, | 20 installer::ArchiveType archive_type, |
20 installer::InstallStatus install_status) override; | 21 installer::InstallStatus install_status) override; |
21 | 22 |
22 protected: | 23 protected: |
23 friend class BrowserDistribution; | 24 friend class BrowserDistribution; |
24 | 25 |
25 GoogleChromeBinariesDistribution(); | 26 GoogleChromeBinariesDistribution(); |
26 | 27 |
27 private: | 28 private: |
28 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); | 29 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); |
29 }; | 30 }; |
30 | 31 |
31 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 32 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
OLD | NEW |