Chromium Code Reviews| Index: components/policy/core/common/policy_loader_win.cc |
| diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc |
| index f199a20d6593d0dc2f57a688c1ab072203b0eae7..93d06d2c8263a088ddf20a8dbe8fbc35458a7f0b 100644 |
| --- a/components/policy/core/common/policy_loader_win.cc |
| +++ b/components/policy/core/common/policy_loader_win.cc |
| @@ -84,8 +84,15 @@ const char* kInsecurePolicies[] = { |
| key::kRestoreOnStartupURLs |
| }; |
| +#pragma warning(push) |
| +#pragma warning(disable: 4068) // unknown pragmas |
|
Nico
2015/07/08 05:17:27
alternatively `#ifdef __clang__` i guess.
Do you
dcheng
2015/07/08 08:02:49
This seems to work. Done.
|
| +#pragma clang diagnostic push |
| +// TODO(dcheng): Remove pragma once http://llvm.org/PR24007 is fixed. |
| +#pragma clang diagnostic ignored "-Wmissing-braces" |
| // The GUID of the registry settings group policy extension. |
| GUID kRegistrySettingsCSEGUID = REGISTRY_EXTENSION_GUID; |
| +#pragma clang diagnostic pop |
| +#pragma warning(pop) |
| // The list of possible errors that can occur while collecting information about |
| // the current enterprise environment. |