Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: chrome/installer/util/google_chrome_distribution.h

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rework Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 20 matching lines...) Expand all
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 GetBaseAppName() OVERRIDE; 39 virtual string16 GetBaseAppName() OVERRIDE;
40 40
41 virtual string16 GetAppShortCutName() OVERRIDE; 41 virtual ShortcutInfo GetShortcutInfo(ShortcutEnum shortcut_enum) OVERRIDE;
42
43 virtual string16 GetAlternateApplicationName() OVERRIDE;
44 42
45 virtual string16 GetBaseAppId() OVERRIDE; 43 virtual string16 GetBaseAppId() OVERRIDE;
46 44
47 virtual string16 GetInstallSubDir() OVERRIDE; 45 virtual string16 GetInstallSubDir() OVERRIDE;
48 46
49 virtual string16 GetPublisherName() OVERRIDE; 47 virtual string16 GetPublisherName() OVERRIDE;
50 48
51 virtual string16 GetAppDescription() OVERRIDE; 49 virtual string16 GetAppDescription() OVERRIDE;
52 50
53 virtual std::string GetSafeBrowsingName() OVERRIDE; 51 virtual std::string GetSafeBrowsingName() OVERRIDE;
(...skipping 10 matching lines...) Expand all
64 // potential use in the uninstall survey. It must be called before the 62 // potential use in the uninstall survey. It must be called before the
65 // key returned by GetVersionKey() is deleted. 63 // key returned by GetVersionKey() is deleted.
66 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE; 64 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE;
67 65
68 virtual string16 GetUninstallLinkName() OVERRIDE; 66 virtual string16 GetUninstallLinkName() OVERRIDE;
69 67
70 virtual string16 GetUninstallRegPath() OVERRIDE; 68 virtual string16 GetUninstallRegPath() OVERRIDE;
71 69
72 virtual string16 GetVersionKey() OVERRIDE; 70 virtual string16 GetVersionKey() OVERRIDE;
73 71
74 virtual string16 GetIconFilename() OVERRIDE;
75
76 virtual bool GetCommandExecuteImplClsid( 72 virtual bool GetCommandExecuteImplClsid(
77 string16* handler_class_uuid) OVERRIDE; 73 string16* handler_class_uuid) OVERRIDE;
78 74
79 virtual bool AppHostIsSupported() OVERRIDE; 75 virtual bool AppHostIsSupported() OVERRIDE;
80 76
81 virtual void UpdateInstallStatus( 77 virtual void UpdateInstallStatus(
82 bool system_install, 78 bool system_install,
83 installer::ArchiveType archive_type, 79 installer::ArchiveType archive_type,
84 installer::InstallStatus install_status) OVERRIDE; 80 installer::InstallStatus install_status) OVERRIDE;
85 81
(...skipping 10 matching lines...) Expand all
96 GoogleChromeDistribution(); 92 GoogleChromeDistribution();
97 93
98 private: 94 private:
99 friend class BrowserDistribution; 95 friend class BrowserDistribution;
100 96
101 // The product ID for Google Update. 97 // The product ID for Google Update.
102 string16 product_guid_; 98 string16 product_guid_;
103 }; 99 };
104 100
105 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 101 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698