Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
|
grt (UTC plus 2)
2012/04/27 18:23:07
2011 -> 2012
gab
2012/04/27 20:58:45
Done.
| |
| 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 "base/string16.h" | |
|
grt (UTC plus 2)
2012/04/27 18:23:07
remove this since it's part of BrowserDistribution
gab
2012/04/27 20:58:45
Done.
| |
| 13 #include "chrome/installer/util/browser_distribution.h" | 14 #include "chrome/installer/util/browser_distribution.h" |
| 14 | 15 |
| 15 class ChromiumBinariesDistribution : public BrowserDistribution { | 16 class ChromiumBinariesDistribution : public BrowserDistribution { |
| 16 public: | 17 public: |
| 17 virtual std::wstring GetAppGuid() OVERRIDE; | 18 virtual string16 GetAppGuid() OVERRIDE; |
| 18 | 19 |
| 19 virtual std::wstring GetApplicationName() OVERRIDE; | 20 virtual string16 GetApplicationName() OVERRIDE; |
| 20 | 21 |
| 21 virtual std::wstring GetAppShortCutName() OVERRIDE; | 22 virtual string16 GetAppShortCutName() OVERRIDE; |
| 22 | 23 |
| 23 virtual std::wstring GetAlternateApplicationName() OVERRIDE; | 24 virtual string16 GetAlternateApplicationName() OVERRIDE; |
| 24 | 25 |
| 25 virtual std::wstring GetBrowserAppId() OVERRIDE; | 26 virtual string16 GetBrowserAppId() OVERRIDE; |
| 26 | 27 |
| 27 virtual std::wstring GetInstallSubDir() OVERRIDE; | 28 virtual string16 GetInstallSubDir() OVERRIDE; |
| 28 | 29 |
| 29 virtual std::wstring GetPublisherName() OVERRIDE; | 30 virtual string16 GetPublisherName() OVERRIDE; |
| 30 | 31 |
| 31 virtual std::wstring GetAppDescription() OVERRIDE; | 32 virtual string16 GetAppDescription() OVERRIDE; |
| 32 | 33 |
| 33 virtual std::wstring GetLongAppDescription() OVERRIDE; | 34 virtual string16 GetLongAppDescription() OVERRIDE; |
| 34 | 35 |
| 35 virtual std::string GetSafeBrowsingName() OVERRIDE; | 36 virtual std::string GetSafeBrowsingName() OVERRIDE; |
| 36 | 37 |
| 37 virtual std::wstring GetStateKey() OVERRIDE; | 38 virtual string16 GetStateKey() OVERRIDE; |
| 38 | 39 |
| 39 virtual std::wstring GetStateMediumKey() OVERRIDE; | 40 virtual string16 GetStateMediumKey() OVERRIDE; |
| 40 | 41 |
| 41 virtual std::wstring GetUninstallLinkName() OVERRIDE; | 42 virtual string16 GetUninstallLinkName() OVERRIDE; |
| 42 | 43 |
| 43 virtual std::wstring GetUninstallRegPath() OVERRIDE; | 44 virtual string16 GetUninstallRegPath() OVERRIDE; |
| 44 | 45 |
| 45 virtual std::wstring GetVersionKey() OVERRIDE; | 46 virtual string16 GetVersionKey() OVERRIDE; |
| 46 | 47 |
| 47 virtual bool CanSetAsDefault() OVERRIDE; | 48 virtual bool CanSetAsDefault() OVERRIDE; |
| 48 | 49 |
| 49 virtual int GetIconIndex() OVERRIDE; | 50 virtual int GetIconIndex() OVERRIDE; |
| 50 | 51 |
| 51 virtual bool GetChromeChannel(std::wstring* channel) OVERRIDE; | 52 virtual bool GetChromeChannel(string16* channel) OVERRIDE; |
| 52 | 53 |
| 53 protected: | 54 protected: |
| 54 friend class BrowserDistribution; | 55 friend class BrowserDistribution; |
| 55 | 56 |
| 56 ChromiumBinariesDistribution(); | 57 ChromiumBinariesDistribution(); |
| 57 | 58 |
| 58 BrowserDistribution* browser_distribution_; | 59 BrowserDistribution* browser_distribution_; |
| 59 | 60 |
| 60 private: | 61 private: |
| 61 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | 62 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 65 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
| OLD | NEW |