| OLD | NEW |
| 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 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 virtual std::wstring GetAppGuid(); | 15 virtual string16 GetAppGuid(); |
| 16 | 16 |
| 17 virtual std::wstring GetAppShortCutName(); | 17 virtual string16 GetAppShortCutName(); |
| 18 | 18 |
| 19 virtual std::wstring GetStateKey(); | 19 virtual string16 GetStateKey(); |
| 20 | 20 |
| 21 virtual std::wstring GetStateMediumKey(); | 21 virtual string16 GetStateMediumKey(); |
| 22 | 22 |
| 23 virtual std::wstring GetVersionKey(); | 23 virtual string16 GetVersionKey(); |
| 24 | 24 |
| 25 virtual void UpdateInstallStatus(bool system_install, | 25 virtual void UpdateInstallStatus(bool system_install, |
| 26 installer::ArchiveType archive_type, | 26 installer::ArchiveType archive_type, |
| 27 installer::InstallStatus install_status); | 27 installer::InstallStatus install_status); |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 friend class BrowserDistribution; | 30 friend class BrowserDistribution; |
| 31 | 31 |
| 32 GoogleChromeBinariesDistribution(); | 32 GoogleChromeBinariesDistribution(); |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); | 35 DISALLOW_COPY_AND_ASSIGN(GoogleChromeBinariesDistribution); |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ | 38 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_BINARIES_DISTRIBUTION_H_ |
| OLD | NEW |