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 "base/file_version_info.h" | 5 #include "base/file_version_info.h" |
6 #include "base/file_version_info_win.h" | 6 #include "base/file_version_info_win.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/win/registry.h" | 10 #include "base/win/registry.h" |
11 #include "chrome_frame/navigation_constraints.h" | 11 #include "chrome_frame/navigation_constraints.h" |
12 #include "chrome_frame/registry_list_preferences_holder.h" | 12 #include "chrome_frame/registry_list_preferences_holder.h" |
13 #include "chrome_frame/test/chrome_frame_test_utils.h" | 13 #include "chrome_frame/test/chrome_frame_test_utils.h" |
14 #include "chrome_frame/utils.h" | 14 #include "chrome_frame/utils.h" |
15 | 15 |
16 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 | 546 |
547 ASSERT_EQ(expect_match, | 547 ASSERT_EQ(expect_match, |
548 CheckXUaCompatibleDirective(test.header_value, | 548 CheckXUaCompatibleDirective(test.header_value, |
549 all_versions[version_index])) | 549 all_versions[version_index])) |
550 << "Expect '" << test.header_value << "' to " | 550 << "Expect '" << test.header_value << "' to " |
551 << (expect_match ? "match" : "not match") << " IE major version " | 551 << (expect_match ? "match" : "not match") << " IE major version " |
552 << all_versions[version_index]; | 552 << all_versions[version_index]; |
553 } | 553 } |
554 } | 554 } |
555 } | 555 } |
OLD | NEW |