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

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

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed IsSetAsDefaultSupported() and GetCommandExecuteImplClsid(), and other minor cleanup. Created 7 years, 3 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 28 matching lines...) Expand all
39 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; 39 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE;
40 40
41 virtual string16 GetIconFilename() OVERRIDE; 41 virtual string16 GetIconFilename() OVERRIDE;
42 42
43 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; 43 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE;
44 44
45 virtual string16 GetBaseAppName() OVERRIDE; 45 virtual string16 GetBaseAppName() OVERRIDE;
46 46
47 virtual string16 GetBaseAppId() OVERRIDE; 47 virtual string16 GetBaseAppId() OVERRIDE;
48 48
49 virtual string16 GetBrowserProgIdPrefix() OVERRIDE;
50
51 virtual string16 GetBrowserProgIdDesc() OVERRIDE;
52
49 virtual string16 GetInstallSubDir() OVERRIDE; 53 virtual string16 GetInstallSubDir() OVERRIDE;
50 54
51 virtual string16 GetPublisherName() OVERRIDE; 55 virtual string16 GetPublisherName() OVERRIDE;
52 56
53 virtual string16 GetAppDescription() OVERRIDE; 57 virtual string16 GetAppDescription() OVERRIDE;
54 58
55 virtual std::string GetSafeBrowsingName() OVERRIDE; 59 virtual std::string GetSafeBrowsingName() OVERRIDE;
56 60
57 virtual string16 GetStateKey() OVERRIDE; 61 virtual string16 GetStateKey() OVERRIDE;
58 62
59 virtual string16 GetStateMediumKey() OVERRIDE; 63 virtual string16 GetStateMediumKey() OVERRIDE;
60 64
61 virtual std::string GetNetworkStatsServer() const OVERRIDE; 65 virtual std::string GetNetworkStatsServer() const OVERRIDE;
62 66
63 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; 67 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE;
64 68
65 // This method reads data from the Google Update ClientState key for 69 // This method reads data from the Google Update ClientState key for
66 // potential use in the uninstall survey. It must be called before the 70 // potential use in the uninstall survey. It must be called before the
67 // key returned by GetVersionKey() is deleted. 71 // key returned by GetVersionKey() is deleted.
68 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE; 72 virtual string16 GetDistributionData(HKEY root_key) OVERRIDE;
69 73
70 virtual string16 GetUninstallLinkName() OVERRIDE; 74 virtual string16 GetUninstallLinkName() OVERRIDE;
71 75
72 virtual string16 GetUninstallRegPath() OVERRIDE; 76 virtual string16 GetUninstallRegPath() OVERRIDE;
73 77
74 virtual string16 GetVersionKey() OVERRIDE; 78 virtual string16 GetVersionKey() OVERRIDE;
75 79
76 virtual bool GetCommandExecuteImplClsid( 80 virtual bool GetCommandExecuteImplClsidString(
77 string16* handler_class_uuid) OVERRIDE; 81 string16* handler_class_uuid) OVERRIDE;
78 82
79 virtual bool AppHostIsSupported() OVERRIDE; 83 virtual bool AppHostIsSupported() OVERRIDE;
80 84
81 virtual void UpdateInstallStatus( 85 virtual void UpdateInstallStatus(
82 bool system_install, 86 bool system_install,
83 installer::ArchiveType archive_type, 87 installer::ArchiveType archive_type,
84 installer::InstallStatus install_status) OVERRIDE; 88 installer::InstallStatus install_status) OVERRIDE;
85 89
86 virtual bool ShouldSetExperimentLabels() OVERRIDE; 90 virtual bool ShouldSetExperimentLabels() OVERRIDE;
87 91
88 virtual bool HasUserExperiments() OVERRIDE; 92 virtual bool HasUserExperiments() OVERRIDE;
89 93
90 const string16& product_guid() { return product_guid_; } 94 const string16& product_guid() { return product_guid_; }
91 95
92 protected: 96 protected:
93 void set_product_guid(const string16& guid) { product_guid_ = guid; } 97 void set_product_guid(const string16& guid) { product_guid_ = guid; }
94 98
95 // Disallow construction from others. 99 // Disallow construction from others.
96 GoogleChromeDistribution(); 100 GoogleChromeDistribution();
97 101
98 private: 102 private:
99 friend class BrowserDistribution; 103 friend class BrowserDistribution;
100 104
101 // The product ID for Google Update. 105 // The product ID for Google Update.
102 string16 product_guid_; 106 string16 product_guid_;
103 }; 107 };
104 108
105 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 109 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698