| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/policy/schema_registry.h" | 5 #include "components/policy/core/common/schema_registry.h" |
| 6 | 6 |
| 7 #include "components/policy/core/common/policy_namespace.h" | 7 #include "components/policy/core/common/policy_namespace.h" |
| 8 #include "components/policy/core/common/schema.h" | 8 #include "components/policy/core/common/schema.h" |
| 9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 using ::testing::Mock; | 12 using ::testing::Mock; |
| 13 using ::testing::_; | 13 using ::testing::_; |
| 14 | 14 |
| 15 namespace policy { | 15 namespace policy { |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 Mock::VerifyAndClearExpectations(&observer); | 233 Mock::VerifyAndClearExpectations(&observer); |
| 234 | 234 |
| 235 EXPECT_CALL(observer, OnSchemaRegistryUpdated(false)); | 235 EXPECT_CALL(observer, OnSchemaRegistryUpdated(false)); |
| 236 combined.Untrack(®istry2); | 236 combined.Untrack(®istry2); |
| 237 Mock::VerifyAndClearExpectations(&observer); | 237 Mock::VerifyAndClearExpectations(&observer); |
| 238 | 238 |
| 239 combined.RemoveObserver(&observer); | 239 combined.RemoveObserver(&observer); |
| 240 } | 240 } |
| 241 | 241 |
| 242 } // namespace policy | 242 } // namespace policy |
| OLD | NEW |