OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" | 5 #include "chrome/browser/chromeos/extensions/device_local_account_management_pol
icy_provider.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <cstddef> | 9 #include <cstddef> |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
12 #include "base/values.h" | 14 #include "base/values.h" |
13 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
14 #include "extensions/common/extension.h" | 16 #include "extensions/common/extension.h" |
15 #include "extensions/common/manifest.h" | 17 #include "extensions/common/manifest.h" |
16 #include "extensions/common/manifest_constants.h" | 18 #include "extensions/common/manifest_constants.h" |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 if (error) { | 571 if (error) { |
570 *error = l10n_util::GetStringFUTF16( | 572 *error = l10n_util::GetStringFUTF16( |
571 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, | 573 IDS_EXTENSION_CANT_INSTALL_IN_DEVICE_LOCAL_ACCOUNT, |
572 base::UTF8ToUTF16(extension->name()), | 574 base::UTF8ToUTF16(extension->name()), |
573 base::UTF8ToUTF16(extension->id())); | 575 base::UTF8ToUTF16(extension->id())); |
574 } | 576 } |
575 return false; | 577 return false; |
576 } | 578 } |
577 | 579 |
578 } // namespace chromeos | 580 } // namespace chromeos |
OLD | NEW |