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

Side by Side Diff: chrome/installer/util/installer_state_unittest.cc

Issue 16421004: Use a direct include of strings headers in chrome/installer/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 <windows.h> 5 #include <windows.h>
6 6
7 #include <fstream> 7 #include <fstream>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/process_util.h" 16 #include "base/process_util.h"
17 #include "base/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/test/test_reg_util_win.h" 19 #include "base/test/test_reg_util_win.h"
20 #include "base/version.h" 20 #include "base/version.h"
21 #include "base/win/registry.h" 21 #include "base/win/registry.h"
22 #include "base/win/scoped_handle.h" 22 #include "base/win/scoped_handle.h"
23 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
24 #include "chrome/installer/test/alternate_version_generator.h" 24 #include "chrome/installer/test/alternate_version_generator.h"
25 #include "chrome/installer/util/fake_installation_state.h" 25 #include "chrome/installer/util/fake_installation_state.h"
26 #include "chrome/installer/util/fake_product_state.h" 26 #include "chrome/installer/util/fake_product_state.h"
27 #include "chrome/installer/util/google_update_constants.h" 27 #include "chrome/installer/util/google_update_constants.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 // Critical update newer than the new version. 749 // Critical update newer than the new version.
750 EXPECT_FALSE( 750 EXPECT_FALSE(
751 installer_state.DetermineCriticalVersion(NULL, *pv_version_).IsValid()); 751 installer_state.DetermineCriticalVersion(NULL, *pv_version_).IsValid());
752 EXPECT_FALSE( 752 EXPECT_FALSE(
753 installer_state.DetermineCriticalVersion(opv_version_, *pv_version_) 753 installer_state.DetermineCriticalVersion(opv_version_, *pv_version_)
754 .IsValid()); 754 .IsValid());
755 EXPECT_FALSE( 755 EXPECT_FALSE(
756 installer_state.DetermineCriticalVersion(pv_version_, *pv_version_) 756 installer_state.DetermineCriticalVersion(pv_version_, *pv_version_)
757 .IsValid()); 757 .IsValid());
758 } 758 }
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state.cc ('k') | chrome/installer/util/installer_util_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698