| Index: components/policy/core/common/generate_policy_source_unittest.cc
|
| diff --git a/components/policy/core/common/generate_policy_source_unittest.cc b/components/policy/core/common/generate_policy_source_unittest.cc
|
| index 108b5687425cdc774a7a4811e98a45c190c8a803..826d2a2c08b390b3680700652a5576eed5e30728 100644
|
| --- a/components/policy/core/common/generate_policy_source_unittest.cc
|
| +++ b/components/policy/core/common/generate_policy_source_unittest.cc
|
| @@ -20,6 +20,7 @@ namespace policy {
|
|
|
| namespace {
|
|
|
| +#if defined(OS_CHROMEOS)
|
| // Checks if two schemas are the same or not. Note that this function doesn't
|
| // consider restrictions on integers and strings nor pattern properties.
|
| bool IsSameSchema(Schema a, Schema b) {
|
| @@ -49,6 +50,7 @@ bool IsSameSchema(Schema a, Schema b) {
|
| return false;
|
| return IsSameSchema(a.GetAdditionalProperties(), b.GetAdditionalProperties());
|
| }
|
| +#endif
|
|
|
| } // namespace
|
|
|
|
|