| Index: chrome/installer/setup/setup_util.h
|
| diff --git a/chrome/installer/setup/setup_util.h b/chrome/installer/setup/setup_util.h
|
| index 0b04b7b7812936e3aabdeb3a0195476b40b0bc08..38ffc0664c4aca0bf6fc9ea842312f4919d716dc 100644
|
| --- a/chrome/installer/setup/setup_util.h
|
| +++ b/chrome/installer/setup/setup_util.h
|
| @@ -11,6 +11,8 @@
|
|
|
| #include <windows.h>
|
|
|
| +#include <vector>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/strings/string16.h"
|
| #include "base/win/scoped_handle.h"
|
| @@ -124,6 +126,14 @@ base::string16 GetRegistrationDataCommandKey(
|
| const AppRegistrationData& reg_data,
|
| const wchar_t* name);
|
|
|
| +// Deletes all values and subkeys of the key |path| under |root|, preserving
|
| +// the keys named in |keys_to_preserve| (each of which must be an ASCII string).
|
| +// The key itself is deleted if no subkeys are preserved.
|
| +void DeleteRegistryKeyPartial(
|
| + HKEY root,
|
| + const base::string16& path,
|
| + const std::vector<base::string16>& keys_to_preserve);
|
| +
|
| // This class will enable the privilege defined by |privilege_name| on the
|
| // current process' token. The privilege will be disabled upon the
|
| // ScopedTokenPrivilege's destruction (unless it was already enabled when the
|
|
|