OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ | 5 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ |
6 #define CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ | 6 #define CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <process.h> | 9 #include <process.h> |
10 #include <psapi.h> | 10 #include <psapi.h> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 // Closes Chrome uninstall confirm dialog window. | 89 // Closes Chrome uninstall confirm dialog window. |
90 bool CloseUninstallWindow(); | 90 bool CloseUninstallWindow(); |
91 | 91 |
92 // Closes Chrome browser. | 92 // Closes Chrome browser. |
93 void CloseChromeBrowser(const wchar_t* window_name); | 93 void CloseChromeBrowser(const wchar_t* window_name); |
94 | 94 |
95 // Checks for registry key. | 95 // Checks for registry key. |
96 bool CheckRegistryKey(const std::wstring& key_path); | 96 bool CheckRegistryKey(const std::wstring& key_path); |
97 | 97 |
| 98 // Checks for registry key on uninstall. |
| 99 bool CheckRegistryKeyOnUninstall(const std::wstring& key_path); |
| 100 |
98 // Deletes App folder after uninstall. | 101 // Deletes App folder after uninstall. |
99 void DeleteAppFolder(); | 102 void DeleteAppFolder(); |
100 | 103 |
101 // This method verifies Chrome shortcut. | 104 // This method verifies Chrome shortcut. |
102 void FindChromeShortcut(); | 105 void FindChromeShortcut(); |
103 | 106 |
104 // This method returns path to either program files | 107 // This method returns path to either program files |
105 // or documents and setting based on the install type. | 108 // or documents and setting based on the install type. |
106 std::wstring GetChromeInstallDirectoryLocation(); | 109 std::wstring GetChromeInstallDirectoryLocation(); |
107 | 110 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Waits until the given process starts running | 172 // Waits until the given process starts running |
170 void WaitUntilProcessStartsRunning(const wchar_t* process_name); | 173 void WaitUntilProcessStartsRunning(const wchar_t* process_name); |
171 | 174 |
172 // Waits until the given process stops running | 175 // Waits until the given process stops running |
173 void WaitUntilProcessStopsRunning(const wchar_t* process_name); | 176 void WaitUntilProcessStopsRunning(const wchar_t* process_name); |
174 | 177 |
175 DISALLOW_EVIL_CONSTRUCTORS(ChromeMiniInstaller); | 178 DISALLOW_EVIL_CONSTRUCTORS(ChromeMiniInstaller); |
176 }; | 179 }; |
177 | 180 |
178 #endif // CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ | 181 #endif // CHROME_TEST_MINI_INSTALLER_TEST_CHROME_MINI_INSTALLER_H__ |
OLD | NEW |