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

Side by Side Diff: chrome/installer/setup/install_worker_unittest.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, 11 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 #include "chrome/installer/setup/install_worker.h" 5 #include "chrome/installer/setup/install_worker.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/macros.h"
10 #include "base/version.h"
9 #include "base/win/registry.h" 11 #include "base/win/registry.h"
10 #include "base/version.h"
11 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
12 #include "chrome/installer/setup/setup_util.h" 13 #include "chrome/installer/setup/setup_util.h"
13 #include "chrome/installer/util/create_reg_key_work_item.h" 14 #include "chrome/installer/util/create_reg_key_work_item.h"
14 #include "chrome/installer/util/delete_reg_key_work_item.h" 15 #include "chrome/installer/util/delete_reg_key_work_item.h"
15 #include "chrome/installer/util/delete_tree_work_item.h" 16 #include "chrome/installer/util/delete_tree_work_item.h"
17 #include "chrome/installer/util/google_update_constants.h"
16 #include "chrome/installer/util/helper.h" 18 #include "chrome/installer/util/helper.h"
17 #include "chrome/installer/util/google_update_constants.h"
18 #include "chrome/installer/util/installation_state.h" 19 #include "chrome/installer/util/installation_state.h"
19 #include "chrome/installer/util/installer_state.h" 20 #include "chrome/installer/util/installer_state.h"
20 #include "chrome/installer/util/set_reg_value_work_item.h" 21 #include "chrome/installer/util/set_reg_value_work_item.h"
21 #include "chrome/installer/util/util_constants.h" 22 #include "chrome/installer/util/util_constants.h"
22 #include "chrome/installer/util/work_item_list.h" 23 #include "chrome/installer/util/work_item_list.h"
23 24 #include "testing/gmock/include/gmock/gmock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
25 #include "testing/gmock/include/gmock/gmock.h"
26 26
27 using base::win::RegKey; 27 using base::win::RegKey;
28 using installer::InstallationState; 28 using installer::InstallationState;
29 using installer::InstallerState; 29 using installer::InstallerState;
30 using installer::Product; 30 using installer::Product;
31 using installer::ProductState; 31 using installer::ProductState;
32 32
33 using ::testing::_; 33 using ::testing::_;
34 using ::testing::AnyNumber; 34 using ::testing::AnyNumber;
35 using ::testing::AtLeast; 35 using ::testing::AtLeast;
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 prod_type_list[i_type_check]); 829 prod_type_list[i_type_check]);
830 bool prod_expect = (mach_after & (1 << i_type_check)) != 0; 830 bool prod_expect = (mach_after & (1 << i_type_check)) != 0;
831 EXPECT_EQ(prod_expect, prod_res); 831 EXPECT_EQ(prod_expect, prod_res);
832 } 832 }
833 } 833 }
834 } 834 }
835 } 835 }
836 } 836 }
837 837
838 #endif // defined(GOOGLE_CHROME_BUILD) 838 #endif // defined(GOOGLE_CHROME_BUILD)
OLDNEW
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/installer_crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698