Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Side by Side Diff: chrome/test/mini_installer_test/installer_test_util.h

Issue 282363003: Add WOW64 support to the installer registry work items (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: nits. fix call to DeleteRegistryKey Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ 5 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_
6 #define CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ 6 #define CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 15 matching lines...) Expand all
26 // locations depending on the |system_level| and |type|. 26 // locations depending on the |system_level| and |type|.
27 // Returns true if successful, otherwise false. 27 // Returns true if successful, otherwise false.
28 bool DeleteInstallDirectory( 28 bool DeleteInstallDirectory(
29 bool system_level, 29 bool system_level,
30 installer::InstallationValidator::InstallationType type); 30 installer::InstallationValidator::InstallationType type);
31 31
32 // Deletes the Chrome Windows registry entry. 32 // Deletes the Chrome Windows registry entry.
33 // Returns true if successful, otherwise false. 33 // Returns true if successful, otherwise false.
34 bool DeleteRegistryKey( 34 bool DeleteRegistryKey(
35 bool system_level, 35 bool system_level,
36 installer::InstallationValidator::InstallationType type); 36 installer::InstallationValidator::InstallationType type,
37 REGSAM wow64_access);
37 38
38 // Locates the Chrome installation directory based on the 39 // Locates the Chrome installation directory based on the
39 // provided |system_level|. Returns true if successful, otherwise false. 40 // provided |system_level|. Returns true if successful, otherwise false.
40 // Returns true if successful, otherwise false. 41 // Returns true if successful, otherwise false.
41 bool GetChromeInstallDirectory(bool system_level, base::FilePath* path); 42 bool GetChromeInstallDirectory(bool system_level, base::FilePath* path);
42 43
43 // Gets the installation directory of either Chrome or Chrome Frame 44 // Gets the installation directory of either Chrome or Chrome Frame
44 // as specified by the |system_level| and |type|. 45 // as specified by the |system_level| and |type|.
45 // Returns true if successful, otherwise false. 46 // Returns true if successful, otherwise false.
46 bool GetInstallDirectory(bool system_level, 47 bool GetInstallDirectory(bool system_level,
(...skipping 27 matching lines...) Expand all
74 75
75 bool ValidateInstall( 76 bool ValidateInstall(
76 bool system_level, 77 bool system_level,
77 installer::InstallationValidator::InstallationType expected, 78 installer::InstallationValidator::InstallationType expected,
78 const std::string& version); 79 const std::string& version);
79 80
80 // Run and wait for command to finish. 81 // Run and wait for command to finish.
81 // Returns true if successful, otherwise false. 82 // Returns true if successful, otherwise false.
82 bool RunAndWaitForCommandToFinish(base::CommandLine command); 83 bool RunAndWaitForCommandToFinish(base::CommandLine command);
83 84
84 } // namespace 85 } // namespace installer_test
85 86
86 #endif // CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ 87 #endif // CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_
87 88
OLDNEW
« no previous file with comments | « chrome/installer/util/work_item_list_unittest.cc ('k') | chrome/test/mini_installer_test/installer_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698