| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ |
| 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ |
| 7 | 7 |
| 8 #include <bitset> | 8 #include <bitset> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
| 11 #include "components/policy/policy_export.h" | 11 #include "components/policy/policy_export.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class HistogramBase; | 14 class HistogramBase; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace policy { | 17 namespace policy { |
| 18 | 18 |
| 19 // UMA histogram enum for policy load status. Don't change existing constants, | 19 // UMA histogram enum for policy load status. Don't change existing constants, |
| 20 // append additional constants to the end if needed. | 20 // append additional constants to the end if needed. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 private: | 58 private: |
| 59 std::bitset<POLICY_LOAD_STATUS_SIZE> status_bits_; | 59 std::bitset<POLICY_LOAD_STATUS_SIZE> status_bits_; |
| 60 base::HistogramBase* histogram_; | 60 base::HistogramBase* histogram_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(PolicyLoadStatusSample); | 62 DISALLOW_COPY_AND_ASSIGN(PolicyLoadStatusSample); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace policy | 65 } // namespace policy |
| 66 | 66 |
| 67 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ | 67 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOAD_STATUS_H_ |
| OLD | NEW |