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

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: Remove magic key combo from browser_options_handler.cc 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
83 #if defined(OS_WIN)
84 virtual bool GetCommandExecuteImplClsid(CLSID* handler_class_uuid) OVERRIDE;
85 #endif
86
79 virtual bool AppHostIsSupported() OVERRIDE; 87 virtual bool AppHostIsSupported() OVERRIDE;
80 88
81 virtual void UpdateInstallStatus( 89 virtual void UpdateInstallStatus(
82 bool system_install, 90 bool system_install,
83 installer::ArchiveType archive_type, 91 installer::ArchiveType archive_type,
84 installer::InstallStatus install_status) OVERRIDE; 92 installer::InstallStatus install_status) OVERRIDE;
85 93
86 virtual bool ShouldSetExperimentLabels() OVERRIDE; 94 virtual bool ShouldSetExperimentLabels() OVERRIDE;
87 95
88 virtual bool HasUserExperiments() OVERRIDE; 96 virtual bool HasUserExperiments() OVERRIDE;
89 97
90 const string16& product_guid() { return product_guid_; } 98 const string16& product_guid() { return product_guid_; }
91 99
92 protected: 100 protected:
93 void set_product_guid(const string16& guid) { product_guid_ = guid; } 101 void set_product_guid(const string16& guid) { product_guid_ = guid; }
94 102
95 // Disallow construction from others. 103 // Disallow construction from others.
96 GoogleChromeDistribution(); 104 GoogleChromeDistribution();
97 105
98 private: 106 private:
99 friend class BrowserDistribution; 107 friend class BrowserDistribution;
100 108
101 // The product ID for Google Update. 109 // The product ID for Google Update.
102 string16 product_guid_; 110 string16 product_guid_;
103 }; 111 };
104 112
105 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ 113 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698