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 12 matching lines...) Expand all Loading... |
23 // Opens the Google Chrome uninstall survey window. | 23 // Opens the Google Chrome uninstall survey window. |
24 // version refers to the version of Chrome being uninstalled. | 24 // version refers to the version of Chrome being uninstalled. |
25 // local_data_path is the path of the file containing json metrics that | 25 // local_data_path is the path of the file containing json metrics that |
26 // will be parsed. If this file indicates that the user has opted in to | 26 // will be parsed. If this file indicates that the user has opted in to |
27 // providing anonymous usage data, then some additional statistics will | 27 // providing anonymous usage data, then some additional statistics will |
28 // be added to the survey url. | 28 // be added to the survey url. |
29 // distribution_data contains Google Update related data that will be | 29 // distribution_data contains Google Update related data that will be |
30 // concatenated to the survey url if the file in local_data_path indicates | 30 // concatenated to the survey url if the file in local_data_path indicates |
31 // the user has opted in to providing anonymous usage data. | 31 // the user has opted in to providing anonymous usage data. |
32 void DoPostUninstallOperations( | 32 void DoPostUninstallOperations( |
33 const Version& version, | 33 const base::Version& version, |
34 const base::FilePath& local_data_path, | 34 const base::FilePath& local_data_path, |
35 const base::string16& distribution_data) override; | 35 const base::string16& distribution_data) override; |
36 | 36 |
37 base::string16 GetActiveSetupGuid() override; | 37 base::string16 GetActiveSetupGuid() override; |
38 | 38 |
39 base::string16 GetShortcutName(ShortcutType shortcut_type) override; | 39 base::string16 GetShortcutName(ShortcutType shortcut_type) override; |
40 | 40 |
41 base::string16 GetIconFilename() override; | 41 base::string16 GetIconFilename() override; |
42 | 42 |
43 int GetIconIndex(ShortcutType shortcut_type) override; | 43 int GetIconIndex(ShortcutType shortcut_type) override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 GoogleChromeDistribution(); | 83 GoogleChromeDistribution(); |
84 | 84 |
85 explicit GoogleChromeDistribution( | 85 explicit GoogleChromeDistribution( |
86 scoped_ptr<AppRegistrationData> app_reg_data); | 86 scoped_ptr<AppRegistrationData> app_reg_data); |
87 | 87 |
88 private: | 88 private: |
89 friend class BrowserDistribution; | 89 friend class BrowserDistribution; |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ | 92 #endif // CHROME_INSTALLER_UTIL_GOOGLE_CHROME_DISTRIBUTION_H_ |
OLD | NEW |