| 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_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 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "chrome/installer/util/browser_distribution.h" | 12 #include "chrome/installer/util/browser_distribution.h" |
| 13 | 13 |
| 14 class ChromiumBinariesDistribution : public BrowserDistribution { | 14 class ChromiumBinariesDistribution : public BrowserDistribution { |
| 15 public: | 15 public: |
| 16 virtual string16 GetAppGuid() OVERRIDE; | 16 virtual base::string16 GetAppGuid() OVERRIDE; |
| 17 | 17 |
| 18 virtual string16 GetBrowserProgIdPrefix() OVERRIDE; | 18 virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE; |
| 19 | 19 |
| 20 virtual string16 GetBrowserProgIdDesc() OVERRIDE; | 20 virtual base::string16 GetBrowserProgIdDesc() OVERRIDE; |
| 21 | 21 |
| 22 virtual string16 GetDisplayName() OVERRIDE; | 22 virtual base::string16 GetDisplayName() OVERRIDE; |
| 23 | 23 |
| 24 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; | 24 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; |
| 25 | 25 |
| 26 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; | 26 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; |
| 27 | 27 |
| 28 virtual string16 GetBaseAppName() OVERRIDE; | 28 virtual base::string16 GetBaseAppName() OVERRIDE; |
| 29 | 29 |
| 30 virtual string16 GetBaseAppId() OVERRIDE; | 30 virtual base::string16 GetBaseAppId() OVERRIDE; |
| 31 | 31 |
| 32 virtual string16 GetInstallSubDir() OVERRIDE; | 32 virtual base::string16 GetInstallSubDir() OVERRIDE; |
| 33 | 33 |
| 34 virtual string16 GetPublisherName() OVERRIDE; | 34 virtual base::string16 GetPublisherName() OVERRIDE; |
| 35 | 35 |
| 36 virtual string16 GetAppDescription() OVERRIDE; | 36 virtual base::string16 GetAppDescription() OVERRIDE; |
| 37 | 37 |
| 38 virtual string16 GetLongAppDescription() OVERRIDE; | 38 virtual base::string16 GetLongAppDescription() OVERRIDE; |
| 39 | 39 |
| 40 virtual std::string GetSafeBrowsingName() OVERRIDE; | 40 virtual std::string GetSafeBrowsingName() OVERRIDE; |
| 41 | 41 |
| 42 virtual string16 GetStateKey() OVERRIDE; | 42 virtual base::string16 GetStateKey() OVERRIDE; |
| 43 | 43 |
| 44 virtual string16 GetStateMediumKey() OVERRIDE; | 44 virtual base::string16 GetStateMediumKey() OVERRIDE; |
| 45 | 45 |
| 46 virtual string16 GetUninstallLinkName() OVERRIDE; | 46 virtual base::string16 GetUninstallLinkName() OVERRIDE; |
| 47 | 47 |
| 48 virtual string16 GetUninstallRegPath() OVERRIDE; | 48 virtual base::string16 GetUninstallRegPath() OVERRIDE; |
| 49 | 49 |
| 50 virtual string16 GetVersionKey() OVERRIDE; | 50 virtual base::string16 GetVersionKey() OVERRIDE; |
| 51 | 51 |
| 52 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() OVERRIDE; | 52 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() OVERRIDE; |
| 53 | 53 |
| 54 virtual bool GetChromeChannel(string16* channel) OVERRIDE; | 54 virtual bool GetChromeChannel(base::string16* channel) OVERRIDE; |
| 55 | 55 |
| 56 virtual bool GetCommandExecuteImplClsid( | 56 virtual bool GetCommandExecuteImplClsid( |
| 57 string16* handler_class_uuid) OVERRIDE; | 57 base::string16* handler_class_uuid) OVERRIDE; |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 friend class BrowserDistribution; | 60 friend class BrowserDistribution; |
| 61 | 61 |
| 62 ChromiumBinariesDistribution(); | 62 ChromiumBinariesDistribution(); |
| 63 | 63 |
| 64 BrowserDistribution* browser_distribution_; | 64 BrowserDistribution* browser_distribution_; |
| 65 | 65 |
| 66 private: | 66 private: |
| 67 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | 67 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 70 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
| OLD | NEW |