| 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_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
| 8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "chrome/installer/util/browser_distribution.h" | 13 #include "chrome/installer/util/browser_distribution.h" |
| 14 | 14 |
| 15 class ChromiumBinariesDistribution : public BrowserDistribution { | 15 class ChromiumBinariesDistribution : public BrowserDistribution { |
| 16 public: | 16 public: |
| 17 virtual std::wstring GetAppGuid() OVERRIDE; | 17 virtual string16 GetAppGuid() OVERRIDE; |
| 18 | 18 |
| 19 virtual std::wstring GetApplicationName() OVERRIDE; | 19 virtual string16 GetApplicationName() OVERRIDE; |
| 20 | 20 |
| 21 virtual std::wstring GetAppShortCutName() OVERRIDE; | 21 virtual string16 GetAppShortCutName() OVERRIDE; |
| 22 | 22 |
| 23 virtual std::wstring GetAlternateApplicationName() OVERRIDE; | 23 virtual string16 GetAlternateApplicationName() OVERRIDE; |
| 24 | 24 |
| 25 virtual std::wstring GetBrowserAppId() OVERRIDE; | 25 virtual string16 GetBrowserAppId() OVERRIDE; |
| 26 | 26 |
| 27 virtual std::wstring GetInstallSubDir() OVERRIDE; | 27 virtual string16 GetInstallSubDir() OVERRIDE; |
| 28 | 28 |
| 29 virtual std::wstring GetPublisherName() OVERRIDE; | 29 virtual string16 GetPublisherName() OVERRIDE; |
| 30 | 30 |
| 31 virtual std::wstring GetAppDescription() OVERRIDE; | 31 virtual string16 GetAppDescription() OVERRIDE; |
| 32 | 32 |
| 33 virtual std::wstring GetLongAppDescription() OVERRIDE; | 33 virtual string16 GetLongAppDescription() OVERRIDE; |
| 34 | 34 |
| 35 virtual std::string GetSafeBrowsingName() OVERRIDE; | 35 virtual std::string GetSafeBrowsingName() OVERRIDE; |
| 36 | 36 |
| 37 virtual std::wstring GetStateKey() OVERRIDE; | 37 virtual string16 GetStateKey() OVERRIDE; |
| 38 | 38 |
| 39 virtual std::wstring GetStateMediumKey() OVERRIDE; | 39 virtual string16 GetStateMediumKey() OVERRIDE; |
| 40 | 40 |
| 41 virtual std::wstring GetUninstallLinkName() OVERRIDE; | 41 virtual string16 GetUninstallLinkName() OVERRIDE; |
| 42 | 42 |
| 43 virtual std::wstring GetUninstallRegPath() OVERRIDE; | 43 virtual string16 GetUninstallRegPath() OVERRIDE; |
| 44 | 44 |
| 45 virtual std::wstring GetVersionKey() OVERRIDE; | 45 virtual string16 GetVersionKey() OVERRIDE; |
| 46 | 46 |
| 47 virtual bool CanSetAsDefault() OVERRIDE; | 47 virtual bool CanSetAsDefault() OVERRIDE; |
| 48 | 48 |
| 49 virtual int GetIconIndex() OVERRIDE; | 49 virtual int GetIconIndex() OVERRIDE; |
| 50 | 50 |
| 51 virtual bool GetChromeChannel(std::wstring* channel) OVERRIDE; | 51 virtual bool GetChromeChannel(string16* channel) OVERRIDE; |
| 52 | 52 |
| 53 protected: | 53 protected: |
| 54 friend class BrowserDistribution; | 54 friend class BrowserDistribution; |
| 55 | 55 |
| 56 ChromiumBinariesDistribution(); | 56 ChromiumBinariesDistribution(); |
| 57 | 57 |
| 58 BrowserDistribution* browser_distribution_; | 58 BrowserDistribution* browser_distribution_; |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | 61 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 64 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
| OLD | NEW |