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 contains the definitions of the installer functions that build | 5 // This file contains the definitions of the installer functions that build |
6 // the WorkItemList used to install the application. | 6 // the WorkItemList used to install the application. |
7 | 7 |
8 #include "chrome/installer/setup/install_worker.h" | 8 #include "chrome/installer/setup/install_worker.h" |
9 | 9 |
10 #include <oaidl.h> | 10 #include <oaidl.h> |
11 #include <shlobj.h> | 11 #include <shlobj.h> |
12 #include <time.h> | 12 #include <time.h> |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/file_util.h" | |
19 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| 19 #include "base/files/file_util.h" |
20 #include "base/logging.h" | 20 #include "base/logging.h" |
21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
22 #include "base/path_service.h" | 22 #include "base/path_service.h" |
23 #include "base/strings/string_util.h" | 23 #include "base/strings/string_util.h" |
24 #include "base/strings/utf_string_conversions.h" | 24 #include "base/strings/utf_string_conversions.h" |
25 #include "base/version.h" | 25 #include "base/version.h" |
26 #include "base/win/registry.h" | 26 #include "base/win/registry.h" |
27 #include "base/win/scoped_comptr.h" | 27 #include "base/win/scoped_comptr.h" |
28 #include "base/win/windows_version.h" | 28 #include "base/win/windows_version.h" |
29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 // Unconditionally remove the legacy Quick Enable command from the binaries. | 1658 // Unconditionally remove the legacy Quick Enable command from the binaries. |
1659 // Do this even if multi-install Chrome isn't installed to ensure that it is | 1659 // Do this even if multi-install Chrome isn't installed to ensure that it is |
1660 // not left behind in any case. | 1660 // not left behind in any case. |
1661 work_item_list->AddDeleteRegKeyWorkItem( | 1661 work_item_list->AddDeleteRegKeyWorkItem( |
1662 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY) | 1662 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY) |
1663 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + | 1663 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + |
1664 " command"); | 1664 " command"); |
1665 } | 1665 } |
1666 | 1666 |
1667 } // namespace installer | 1667 } // namespace installer |
OLD | NEW |