OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/cloud/message_util.h" | 5 #include "components/policy/core/browser/cloud/message_util.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "grit/component_strings.h" | 8 #include "grit/component_strings.h" |
9 #include "ui/base/l10n/l10n_util.h" | 9 #include "ui/base/l10n/l10n_util.h" |
10 | 10 |
11 namespace policy { | 11 namespace policy { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 int GetIDSForDMStatus(DeviceManagementStatus status) { | 15 int GetIDSForDMStatus(DeviceManagementStatus status) { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 return l10n_util::GetStringFUTF16( | 116 return l10n_util::GetStringFUTF16( |
117 IDS_POLICY_STORE_STATUS_VALIDATION_ERROR, | 117 IDS_POLICY_STORE_STATUS_VALIDATION_ERROR, |
118 l10n_util::GetStringUTF16( | 118 l10n_util::GetStringUTF16( |
119 GetIDSForValidationStatus(validation_status))); | 119 GetIDSForValidationStatus(validation_status))); |
120 } | 120 } |
121 | 121 |
122 return l10n_util::GetStringUTF16(GetIDSForStoreStatus(store_status)); | 122 return l10n_util::GetStringUTF16(GetIDSForStoreStatus(store_status)); |
123 } | 123 } |
124 | 124 |
125 } // namespace policy | 125 } // namespace policy |
OLD | NEW |