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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 // Extracts uninstall metrics from the given JSON value. | 127 // Extracts uninstall metrics from the given JSON value. |
128 virtual bool ExtractUninstallMetrics(const base::DictionaryValue& root, | 128 virtual bool ExtractUninstallMetrics(const base::DictionaryValue& root, |
129 string16* uninstall_metrics); | 129 string16* uninstall_metrics); |
130 | 130 |
131 // Given a DictionaryValue containing a set of uninstall metrics, | 131 // Given a DictionaryValue containing a set of uninstall metrics, |
132 // this builds a URL parameter list of all the contained metrics. | 132 // this builds a URL parameter list of all the contained metrics. |
133 // Returns true if at least one uninstall metric was found in | 133 // Returns true if at least one uninstall metric was found in |
134 // uninstall_metrics_dict, false otherwise. | 134 // uninstall_metrics_dict, false otherwise. |
135 virtual bool BuildUninstallMetricsString( | 135 virtual bool BuildUninstallMetricsString( |
136 base::DictionaryValue* uninstall_metrics_dict, string16* metrics); | 136 const base::DictionaryValue* uninstall_metrics_dict, string16* metrics); |
137 | 137 |
138 // The product ID for Google Update. | 138 // The product ID for Google Update. |
139 string16 product_guid_; | 139 string16 product_guid_; |
140 }; | 140 }; |
141 | 141 |
142 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 142 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
OLD | NEW |