| 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 extends generic BrowserDistribution class to declare Google Chrome | 5 // This file extends generic BrowserDistribution class to declare Google Chrome |
| 6 // specific implementation. | 6 // specific implementation. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // the user has opted in to providing anonymous usage data. | 29 // the user has opted in to providing anonymous usage data. |
| 30 virtual void DoPostUninstallOperations( | 30 virtual void DoPostUninstallOperations( |
| 31 const Version& version, | 31 const Version& version, |
| 32 const base::FilePath& local_data_path, | 32 const base::FilePath& local_data_path, |
| 33 const string16& distribution_data) OVERRIDE; | 33 const string16& distribution_data) OVERRIDE; |
| 34 | 34 |
| 35 virtual string16 GetActiveSetupGuid() OVERRIDE; | 35 virtual string16 GetActiveSetupGuid() OVERRIDE; |
| 36 | 36 |
| 37 virtual string16 GetAppGuid() OVERRIDE; | 37 virtual string16 GetAppGuid() OVERRIDE; |
| 38 | 38 |
| 39 virtual string16 GetShortcutName(ShortcutEnum shortcut_enum) OVERRIDE; |
| 40 |
| 41 virtual string16 GetIconFilename() OVERRIDE; |
| 42 |
| 43 virtual int GetIconIndex(ShortcutEnum shortcut_enum) OVERRIDE; |
| 44 |
| 39 virtual string16 GetBaseAppName() OVERRIDE; | 45 virtual string16 GetBaseAppName() OVERRIDE; |
| 40 | 46 |
| 41 virtual string16 GetAppShortCutName() OVERRIDE; | |
| 42 | |
| 43 virtual string16 GetAlternateApplicationName() OVERRIDE; | |
| 44 | |
| 45 virtual string16 GetBaseAppId() OVERRIDE; | 47 virtual string16 GetBaseAppId() OVERRIDE; |
| 46 | 48 |
| 47 virtual string16 GetInstallSubDir() OVERRIDE; | 49 virtual string16 GetInstallSubDir() OVERRIDE; |
| 48 | 50 |
| 49 virtual string16 GetPublisherName() OVERRIDE; | 51 virtual string16 GetPublisherName() OVERRIDE; |
| 50 | 52 |
| 51 virtual string16 GetAppDescription() OVERRIDE; | 53 virtual string16 GetAppDescription() OVERRIDE; |
| 52 | 54 |
| 53 virtual std::string GetSafeBrowsingName() OVERRIDE; | 55 virtual std::string GetSafeBrowsingName() OVERRIDE; |
| 54 | 56 |
| 55 virtual string16 GetStateKey() OVERRIDE; | 57 virtual string16 GetStateKey() OVERRIDE; |
| 56 | 58 |
| 57 virtual string16 GetStateMediumKey() OVERRIDE; | 59 virtual string16 GetStateMediumKey() OVERRIDE; |
| 58 | 60 |
| 59 virtual std::string GetNetworkStatsServer() const OVERRIDE; | 61 virtual std::string GetNetworkStatsServer() const OVERRIDE; |
| 60 | 62 |
| 61 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; | 63 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; |
| 62 | 64 |
| 63 // This method reads data from the Google Update ClientState key for | 65 // This method reads data from the Google Update ClientState key for |
| 64 // potential use in the uninstall survey. It must be called before the | 66 // potential use in the uninstall survey. It must be called before the |
| 65 // key returned by GetVersionKey() is deleted. | 67 // key returned by GetVersionKey() is deleted. |
| 66 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE; | 68 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE; |
| 67 | 69 |
| 68 virtual string16 GetUninstallLinkName() OVERRIDE; | 70 virtual string16 GetUninstallLinkName() OVERRIDE; |
| 69 | 71 |
| 70 virtual string16 GetUninstallRegPath() OVERRIDE; | 72 virtual string16 GetUninstallRegPath() OVERRIDE; |
| 71 | 73 |
| 72 virtual string16 GetVersionKey() OVERRIDE; | 74 virtual string16 GetVersionKey() OVERRIDE; |
| 73 | 75 |
| 74 virtual string16 GetIconFilename() OVERRIDE; | |
| 75 | |
| 76 virtual bool GetCommandExecuteImplClsid( | 76 virtual bool GetCommandExecuteImplClsid( |
| 77 string16* handler_class_uuid) OVERRIDE; | 77 string16* handler_class_uuid) OVERRIDE; |
| 78 | 78 |
| 79 virtual bool AppHostIsSupported() OVERRIDE; | 79 virtual bool AppHostIsSupported() OVERRIDE; |
| 80 | 80 |
| 81 virtual void UpdateInstallStatus( | 81 virtual void UpdateInstallStatus( |
| 82 bool system_install, | 82 bool system_install, |
| 83 installer::ArchiveType archive_type, | 83 installer::ArchiveType archive_type, |
| 84 installer::InstallStatus install_status) OVERRIDE; | 84 installer::InstallStatus install_status) OVERRIDE; |
| 85 | 85 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 96 GoogleChromeDistribution(); | 96 GoogleChromeDistribution(); |
| 97 | 97 |
| 98 private: | 98 private: |
| 99 friend class BrowserDistribution; | 99 friend class BrowserDistribution; |
| 100 | 100 |
| 101 // The product ID for Google Update. | 101 // The product ID for Google Update. |
| 102 string16 product_guid_; | 102 string16 product_guid_; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 105 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
| OLD | NEW |