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

Side by Side Diff: chrome/installer/setup/install_worker.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 // 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 <stddef.h>
13 #include <stdint.h>
12 #include <time.h> 14 #include <time.h>
13 15
14 #include <vector> 16 #include <vector>
15 17
16 #include "base/bind.h" 18 #include "base/bind.h"
17 #include "base/command_line.h" 19 #include "base/command_line.h"
18 #include "base/files/file_path.h" 20 #include "base/files/file_path.h"
19 #include "base/files/file_util.h" 21 #include "base/files/file_util.h"
20 #include "base/logging.h" 22 #include "base/logging.h"
23 #include "base/macros.h"
21 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
22 #include "base/path_service.h" 25 #include "base/path_service.h"
23 #include "base/strings/string_util.h" 26 #include "base/strings/string_util.h"
24 #include "base/strings/utf_string_conversions.h" 27 #include "base/strings/utf_string_conversions.h"
25 #include "base/version.h" 28 #include "base/version.h"
26 #include "base/win/registry.h" 29 #include "base/win/registry.h"
27 #include "base/win/scoped_comptr.h" 30 #include "base/win/scoped_comptr.h"
28 #include "base/win/windows_version.h" 31 #include "base/win/windows_version.h"
29 #include "chrome/common/chrome_constants.h" 32 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_switches.h" 33 #include "chrome/common/chrome_switches.h"
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 // Unconditionally remove the legacy Quick Enable command from the binaries. 1482 // Unconditionally remove the legacy Quick Enable command from the binaries.
1480 // Do this even if multi-install Chrome isn't installed to ensure that it is 1483 // Do this even if multi-install Chrome isn't installed to ensure that it is
1481 // not left behind in any case. 1484 // not left behind in any case.
1482 work_item_list->AddDeleteRegKeyWorkItem( 1485 work_item_list->AddDeleteRegKeyWorkItem(
1483 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY) 1486 installer_state.root_key(), cmd_key, KEY_WOW64_32KEY)
1484 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) + 1487 ->set_log_message("removing " + base::UTF16ToASCII(kCmdQuickEnableCf) +
1485 " command"); 1488 " command");
1486 } 1489 }
1487 1490
1488 } // namespace installer 1491 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/setup/install_unittest.cc ('k') | chrome/installer/setup/install_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698