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 #include "chrome/installer/util/installer_state.h" | 5 #include "chrome/installer/util/installer_state.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include <fstream> | 10 #include <fstream> |
10 | 11 |
11 #include "base/base_paths.h" | 12 #include "base/base_paths.h" |
12 #include "base/command_line.h" | 13 #include "base/command_line.h" |
13 #include "base/files/file_enumerator.h" | 14 #include "base/files/file_enumerator.h" |
14 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
15 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
16 #include "base/files/scoped_temp_dir.h" | 17 #include "base/files/scoped_temp_dir.h" |
17 #include "base/macros.h" | 18 #include "base/macros.h" |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 // Critical update newer than the new version. | 828 // Critical update newer than the new version. |
828 EXPECT_FALSE( | 829 EXPECT_FALSE( |
829 installer_state.DetermineCriticalVersion(NULL, *pv_version_).IsValid()); | 830 installer_state.DetermineCriticalVersion(NULL, *pv_version_).IsValid()); |
830 EXPECT_FALSE( | 831 EXPECT_FALSE( |
831 installer_state.DetermineCriticalVersion(opv_version_, *pv_version_) | 832 installer_state.DetermineCriticalVersion(opv_version_, *pv_version_) |
832 .IsValid()); | 833 .IsValid()); |
833 EXPECT_FALSE( | 834 EXPECT_FALSE( |
834 installer_state.DetermineCriticalVersion(pv_version_, *pv_version_) | 835 installer_state.DetermineCriticalVersion(pv_version_, *pv_version_) |
835 .IsValid()); | 836 .IsValid()); |
836 } | 837 } |
OLD | NEW |