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 string16 GetAppGuid(); | 14 virtual base::string16 GetAppGuid(); |
15 | 15 |
16 virtual string16 GetDisplayName(); | 16 virtual base::string16 GetDisplayName(); |
17 | 17 |
18 virtual string16 GetShortcutName(ShortcutType shortcut_type); | 18 virtual base::string16 GetShortcutName(ShortcutType shortcut_type); |
19 | 19 |
20 virtual string16 GetStateKey(); | 20 virtual base::string16 GetStateKey(); |
21 | 21 |
22 virtual string16 GetStateMediumKey(); | 22 virtual base::string16 GetStateMediumKey(); |
23 | 23 |
24 virtual string16 GetVersionKey(); | 24 virtual base::string16 GetVersionKey(); |
25 | 25 |
26 virtual void UpdateInstallStatus(bool system_install, | 26 virtual void UpdateInstallStatus(bool system_install, |
27 installer::ArchiveType archive_type, | 27 installer::ArchiveType archive_type, |
28 installer::InstallStatus install_status); | 28 installer::InstallStatus install_status); |
29 | 29 |
30 protected: | 30 protected: |
31 friend class BrowserDistribution; | 31 friend class BrowserDistribution; |
32 | 32 |
33 GoogleChromeBinariesDistribution(); | 33 GoogleChromeBinariesDistribution(); |
34 | 34 |
35 private: | 35 private: |
36 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); | 36 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); |
37 }; | 37 }; |
38 | 38 |
39 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 39 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
OLD | NEW |