commit | 05bd1009f026be9dee43979ad748e9e17a2c9ea5 | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Tue Nov 20 19:23:33 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 20 19:23:33 2018 |
tree | 8c64265a6e6745be502d7d244390b7f37219dbcd | |
parent | 4fe3558070dfddb717f4bfcaa5ca33d5a70cfd7d [diff] |
Resolve conflict between two policy::kMaxValue Both components/policy/core/common/cloud/machine_level_user_cloud_policy_metrics.h and components/policy/core/common/cloud/enterprise_metrics.h define policy::kMaxValue in two different enums. If code includes both headers, it won't compile and this happens in some jumbo build configurations. This patch changes one of the enums to use enum class so that the symbols are in different namespaces. (One will shadow the other but as long as they are used correctly it will be fine) Bug: 905702 Change-Id: Ia4dd0c89dc8ec5c23c516e90eae7f6c3256a232a Reviewed-on: https://chromium-review.googlesource.com/c/1344129 Reviewed-by: Maksim Ivanov <emaxx@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#609769}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .