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/message_util.h" | 5 #include "chrome/browser/policy/cloud/message_util.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "grit/generated_resources.h" | 8 #include "grit/generated_resources.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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 return l10n_util::GetStringFUTF16( | 112 return l10n_util::GetStringFUTF16( |
113 IDS_POLICY_STORE_STATUS_VALIDATION_ERROR, | 113 IDS_POLICY_STORE_STATUS_VALIDATION_ERROR, |
114 l10n_util::GetStringUTF16( | 114 l10n_util::GetStringUTF16( |
115 GetIDSForValidationStatus(validation_status))); | 115 GetIDSForValidationStatus(validation_status))); |
116 } | 116 } |
117 | 117 |
118 return l10n_util::GetStringUTF16(GetIDSForStoreStatus(store_status)); | 118 return l10n_util::GetStringUTF16(GetIDSForStoreStatus(store_status)); |
119 } | 119 } |
120 | 120 |
121 } // namespace policy | 121 } // namespace policy |
OLD | NEW |