| 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/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "testing/gmock/include/gmock/gmock.h" | 60 #include "testing/gmock/include/gmock/gmock.h" |
| 61 #include "testing/gtest/include/gtest/gtest.h" | 61 #include "testing/gtest/include/gtest/gtest.h" |
| 62 | 62 |
| 63 using testing::AnyNumber; | 63 using testing::AnyNumber; |
| 64 using testing::AtMost; | 64 using testing::AtMost; |
| 65 using testing::DoAll; | 65 using testing::DoAll; |
| 66 using testing::Invoke; | 66 using testing::Invoke; |
| 67 using testing::Mock; | 67 using testing::Mock; |
| 68 using testing::Return; | 68 using testing::Return; |
| 69 using testing::SaveArg; | 69 using testing::SaveArg; |
| 70 using testing::SetArgumentPointee; | 70 using testing::SetArgPointee; |
| 71 using testing::StrictMock; | 71 using testing::StrictMock; |
| 72 using testing::WithArgs; | 72 using testing::WithArgs; |
| 73 using testing::_; | 73 using testing::_; |
| 74 | 74 |
| 75 namespace em = enterprise_management; | 75 namespace em = enterprise_management; |
| 76 | 76 |
| 77 namespace policy { | 77 namespace policy { |
| 78 namespace { | 78 namespace { |
| 79 | 79 |
| 80 void CopyLockResult(base::RunLoop* loop, | 80 void CopyLockResult(base::RunLoop* loop, |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 DeviceCloudPolicyManagerChromeOSEnrollmentTest, | 820 DeviceCloudPolicyManagerChromeOSEnrollmentTest, |
| 821 ::testing::Values(false, true)); | 821 ::testing::Values(false, true)); |
| 822 | 822 |
| 823 INSTANTIATE_TEST_CASE_P( | 823 INSTANTIATE_TEST_CASE_P( |
| 824 Cert, | 824 Cert, |
| 825 DeviceCloudPolicyManagerChromeOSEnrollmentBlankSystemSaltTest, | 825 DeviceCloudPolicyManagerChromeOSEnrollmentBlankSystemSaltTest, |
| 826 ::testing::Values(false, true)); | 826 ::testing::Values(false, true)); |
| 827 | 827 |
| 828 } // namespace | 828 } // namespace |
| 829 } // namespace policy | 829 } // namespace policy |
| OLD | NEW |