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