OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 declares Chrome uninstall related functions. | 5 // This file declares Chrome uninstall related functions. |
6 | 6 |
7 #ifndef CHROME_INSTALLER_SETUP_UNINSTALL_H_ | 7 #ifndef CHROME_INSTALLER_SETUP_UNINSTALL_H_ |
8 #define CHROME_INSTALLER_SETUP_UNINSTALL_H_ | 8 #define CHROME_INSTALLER_SETUP_UNINSTALL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include <shlobj.h> | 11 #include <shlobj.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "chrome/installer/util/util_constants.h" | 15 #include "chrome/installer/util/util_constants.h" |
16 | 16 |
17 class BrowserDistribution; | 17 class BrowserDistribution; |
18 class CommandLine; | 18 class CommandLine; |
19 class FilePath; | 19 class FilePath; |
20 class InstallUtil; | |
21 | 20 |
22 namespace installer { | 21 namespace installer { |
23 | 22 |
24 class InstallationState; | 23 class InstallationState; |
25 class InstallerState; | 24 class InstallerState; |
26 class Product; | 25 class Product; |
27 | 26 |
28 // This function removes all Chrome registration related keys. It returns true | 27 // This function removes all Chrome registration related keys. It returns true |
29 // if successful, otherwise false. The error code is set in |exit_code|. | 28 // if successful, otherwise false. The error code is set in |exit_code|. |
30 // |root| is the registry root (HKLM|HKCU) and |browser_entry_suffix| is the | 29 // |root| is the registry root (HKLM|HKCU) and |browser_entry_suffix| is the |
(...skipping 26 matching lines...) Expand all Loading... |
57 const InstallerState& installer_state, | 56 const InstallerState& installer_state, |
58 const FilePath& setup_path, | 57 const FilePath& setup_path, |
59 const Product& dist, | 58 const Product& dist, |
60 bool remove_all, | 59 bool remove_all, |
61 bool force_uninstall, | 60 bool force_uninstall, |
62 const CommandLine& cmd_line); | 61 const CommandLine& cmd_line); |
63 | 62 |
64 } // namespace installer | 63 } // namespace installer |
65 | 64 |
66 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ | 65 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ |
OLD | NEW |