| 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> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cstdlib> | 8 #include <cstdlib> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "chrome/test/base/search_test_utils.h" | 35 #include "chrome/test/base/search_test_utils.h" |
| 36 #include "chrome/test/base/ui_test_utils.h" | 36 #include "chrome/test/base/ui_test_utils.h" |
| 37 #include "components/policy/core/browser/browser_policy_connector.h" | 37 #include "components/policy/core/browser/browser_policy_connector.h" |
| 38 #include "components/policy/core/common/external_data_fetcher.h" | 38 #include "components/policy/core/common/external_data_fetcher.h" |
| 39 #include "components/policy/core/common/external_data_manager.h" | 39 #include "components/policy/core/common/external_data_manager.h" |
| 40 #include "components/policy/core/common/mock_configuration_policy_provider.h" | 40 #include "components/policy/core/common/mock_configuration_policy_provider.h" |
| 41 #include "components/policy/core/common/policy_details.h" | 41 #include "components/policy/core/common/policy_details.h" |
| 42 #include "components/policy/core/common/policy_map.h" | 42 #include "components/policy/core/common/policy_map.h" |
| 43 #include "components/policy/core/common/policy_types.h" | 43 #include "components/policy/core/common/policy_types.h" |
| 44 #include "components/policy/core/common/schema.h" | 44 #include "components/policy/core/common/schema.h" |
| 45 #include "components/policy/policy_constants.h" |
| 45 #include "components/prefs/pref_service.h" | 46 #include "components/prefs/pref_service.h" |
| 46 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
| 47 #include "content/public/test/browser_test_utils.h" | 48 #include "content/public/test/browser_test_utils.h" |
| 48 #include "policy/policy_constants.h" | |
| 49 #include "testing/gmock/include/gmock/gmock.h" | 49 #include "testing/gmock/include/gmock/gmock.h" |
| 50 #include "testing/gtest/include/gtest/gtest.h" | 50 #include "testing/gtest/include/gtest/gtest.h" |
| 51 #include "url/gurl.h" | 51 #include "url/gurl.h" |
| 52 | 52 |
| 53 using testing::Return; | 53 using testing::Return; |
| 54 using testing::_; | 54 using testing::_; |
| 55 | 55 |
| 56 namespace policy { | 56 namespace policy { |
| 57 | 57 |
| 58 namespace { | 58 namespace { |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 } | 759 } |
| 760 } | 760 } |
| 761 } | 761 } |
| 762 } | 762 } |
| 763 | 763 |
| 764 INSTANTIATE_TEST_CASE_P(PolicyPrefIndicatorTestInstance, | 764 INSTANTIATE_TEST_CASE_P(PolicyPrefIndicatorTestInstance, |
| 765 PolicyPrefIndicatorTest, | 765 PolicyPrefIndicatorTest, |
| 766 testing::ValuesIn(SplitPoliciesIntoChunks(10))); | 766 testing::ValuesIn(SplitPoliciesIntoChunks(10))); |
| 767 | 767 |
| 768 } // namespace policy | 768 } // namespace policy |
| OLD | NEW |