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 defines dummy implementation of several functions from the | 5 // This file defines dummy implementation of several functions from the |
6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit | 6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit |
7 // Windows Chrome binary to build successfully. Since this binary is only used | 7 // Windows Chrome binary to build successfully. Since this binary is only used |
8 // for Native Client support, most of the install/uninstall functionality is not | 8 // for Native Client support, most of the install/uninstall functionality is not |
9 // necessary there. | 9 // necessary there. |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 string16 GoogleChromeDistribution::GetUninstallLinkName() { | 109 string16 GoogleChromeDistribution::GetUninstallLinkName() { |
110 NOTREACHED(); | 110 NOTREACHED(); |
111 return string16(); | 111 return string16(); |
112 } | 112 } |
113 | 113 |
114 string16 GoogleChromeDistribution::GetUninstallRegPath() { | 114 string16 GoogleChromeDistribution::GetUninstallRegPath() { |
115 NOTREACHED(); | 115 NOTREACHED(); |
116 return string16(); | 116 return string16(); |
117 } | 117 } |
118 | 118 |
| 119 void GetUserDataPaths(std::vector<base::FilePath>* paths) { |
| 120 NOTREACHED(); |
| 121 } |
| 122 |
119 string16 GoogleChromeDistribution::GetVersionKey() { | 123 string16 GoogleChromeDistribution::GetVersionKey() { |
120 NOTREACHED(); | 124 NOTREACHED(); |
121 return string16(); | 125 return string16(); |
122 } | 126 } |
123 | 127 |
124 string16 GoogleChromeDistribution::GetIconFilename() { | 128 string16 GoogleChromeDistribution::GetIconFilename() { |
125 NOTREACHED(); | 129 NOTREACHED(); |
126 return string16(); | 130 return string16(); |
127 } | 131 } |
128 | 132 |
129 bool GoogleChromeDistribution::GetCommandExecuteImplClsid( | 133 bool GoogleChromeDistribution::GetCommandExecuteImplClsid( |
130 string16* handler_class_uuid) { | 134 string16* handler_class_uuid) { |
131 NOTREACHED(); | 135 NOTREACHED(); |
132 return false; | 136 return false; |
133 } | 137 } |
134 | 138 |
135 bool GoogleChromeDistribution::AppHostIsSupported() { | 139 bool GoogleChromeDistribution::AppHostIsSupported() { |
136 NOTREACHED(); | 140 NOTREACHED(); |
137 return false; | 141 return false; |
138 } | 142 } |
139 | 143 |
140 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, | 144 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, |
141 installer::ArchiveType archive_type, | 145 installer::ArchiveType archive_type, |
142 installer::InstallStatus install_status) { | 146 installer::InstallStatus install_status) { |
143 NOTREACHED(); | 147 NOTREACHED(); |
144 } | 148 } |
145 | 149 |
146 bool GoogleChromeDistribution::GetExperimentDetails( | 150 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { |
147 UserExperiment* experiment, int flavor) { | |
148 NOTREACHED(); | 151 NOTREACHED(); |
149 return false; | 152 return false; |
150 } | 153 } |
151 | 154 |
152 void GoogleChromeDistribution::LaunchUserExperiment( | |
153 const base::FilePath& setup_path, installer::InstallStatus status, | |
154 const Version& version, const installer::Product& product, | |
155 bool system_level) { | |
156 NOTREACHED(); | |
157 } | |
158 | |
159 void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor, | |
160 const string16& experiment_group, | |
161 const installer::Product& installation, | |
162 const base::FilePath& application_path) { | |
163 NOTREACHED(); | |
164 } | |
165 | |
166 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile( | 155 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile( |
167 const base::FilePath& file_path, string16* uninstall_metrics_string) { | 156 const base::FilePath& file_path, string16* uninstall_metrics_string) { |
168 NOTREACHED(); | 157 NOTREACHED(); |
169 return false; | 158 return false; |
170 } | 159 } |
171 | 160 |
172 bool GoogleChromeDistribution::ExtractUninstallMetrics( | 161 bool GoogleChromeDistribution::ExtractUninstallMetrics( |
173 const DictionaryValue& root, string16* uninstall_metrics_string) { | 162 const DictionaryValue& root, string16* uninstall_metrics_string) { |
174 NOTREACHED(); | 163 NOTREACHED(); |
175 return false; | 164 return false; |
176 } | 165 } |
177 | 166 |
178 bool GoogleChromeDistribution::BuildUninstallMetricsString( | 167 bool GoogleChromeDistribution::BuildUninstallMetricsString( |
179 const DictionaryValue* uninstall_metrics_dict, string16* metrics) { | 168 const DictionaryValue* uninstall_metrics_dict, string16* metrics) { |
180 NOTREACHED(); | 169 NOTREACHED(); |
181 return false; | 170 return false; |
182 } | 171 } |
183 | 172 |
184 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { | 173 bool GoogleChromeDistribution::HasUserExperiments() const { |
185 NOTREACHED(); | 174 NOTREACHED(); |
186 return false; | 175 return false; |
187 } | 176 } |
OLD | NEW |