| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/common/extensions/permissions/chrome_permission_message_rules.h
" | 5 #include "chrome/common/extensions/permissions/chrome_permission_message_rules.h
" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
| 8 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 10 #include "chrome/grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
| 11 #include "grit/extensions_strings.h" | 12 #include "grit/extensions_strings.h" |
| 12 #include "ui/base/l10n/l10n_util.h" | 13 #include "ui/base/l10n/l10n_util.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 {IDS_EXTENSION_PROMPT_WARNING_DISPLAY_SOURCE, | 637 {IDS_EXTENSION_PROMPT_WARNING_DISPLAY_SOURCE, |
| 637 {APIPermission::kDisplaySource}, | 638 {APIPermission::kDisplaySource}, |
| 638 {}}, | 639 {}}, |
| 639 }; | 640 }; |
| 640 | 641 |
| 641 return std::vector<ChromePermissionMessageRule>( | 642 return std::vector<ChromePermissionMessageRule>( |
| 642 rules_arr, rules_arr + arraysize(rules_arr)); | 643 rules_arr, rules_arr + arraysize(rules_arr)); |
| 643 } | 644 } |
| 644 | 645 |
| 645 } // namespace extensions | 646 } // namespace extensions |
| OLD | NEW |