| 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 <stddef.h> |
| 6 |
| 5 #include <map> | 7 #include <map> |
| 6 | 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 11 #include "base/version.h" | 14 #include "base/version.h" |
| 12 #include "chrome/common/chrome_constants.h" | 15 #include "chrome/common/chrome_constants.h" |
| 13 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
| 14 #include "chrome/installer/util/channel_info.h" | 17 #include "chrome/installer/util/channel_info.h" |
| 15 #include "chrome/installer/util/helper.h" | 18 #include "chrome/installer/util/helper.h" |
| 16 #include "chrome/installer/util/installation_state.h" | 19 #include "chrome/installer/util/installation_state.h" |
| 17 #include "chrome/installer/util/installation_validator.h" | 20 #include "chrome/installer/util/installation_validator.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 AllValidInstallations, | 482 AllValidInstallations, |
| 480 InstallationValidatorTest, | 483 InstallationValidatorTest, |
| 481 Values(InstallationValidator::NO_PRODUCTS, | 484 Values(InstallationValidator::NO_PRODUCTS, |
| 482 InstallationValidator::CHROME_SINGLE, | 485 InstallationValidator::CHROME_SINGLE, |
| 483 InstallationValidator::CHROME_MULTI, | 486 InstallationValidator::CHROME_MULTI, |
| 484 InstallationValidator::CHROME_FRAME_SINGLE, | 487 InstallationValidator::CHROME_FRAME_SINGLE, |
| 485 InstallationValidator::CHROME_FRAME_SINGLE_CHROME_SINGLE, | 488 InstallationValidator::CHROME_FRAME_SINGLE_CHROME_SINGLE, |
| 486 InstallationValidator::CHROME_FRAME_SINGLE_CHROME_MULTI, | 489 InstallationValidator::CHROME_FRAME_SINGLE_CHROME_MULTI, |
| 487 InstallationValidator::CHROME_FRAME_MULTI, | 490 InstallationValidator::CHROME_FRAME_MULTI, |
| 488 InstallationValidator::CHROME_FRAME_MULTI_CHROME_MULTI)); | 491 InstallationValidator::CHROME_FRAME_MULTI_CHROME_MULTI)); |
| OLD | NEW |