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/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "chrome/grit/generated_resources.h" | 9 #include "chrome/grit/generated_resources.h" |
10 #include "extensions/common/permissions/api_permission_set.h" | 10 #include "extensions/common/permissions/api_permission_set.h" |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 {}}, | 497 {}}, |
498 {IDS_EXTENSION_PROMPT_WARNING_SEARCH_ENGINES_PRIVATE, | 498 {IDS_EXTENSION_PROMPT_WARNING_SEARCH_ENGINES_PRIVATE, |
499 {APIPermission::kSearchEnginesPrivate}, | 499 {APIPermission::kSearchEnginesPrivate}, |
500 {}}, | 500 {}}, |
501 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, | 501 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, |
502 {APIPermission::kSettingsPrivate}, | 502 {APIPermission::kSettingsPrivate}, |
503 {}}, | 503 {}}, |
504 {IDS_EXTENSION_PROMPT_WARNING_AUTOFILL_PRIVATE, | 504 {IDS_EXTENSION_PROMPT_WARNING_AUTOFILL_PRIVATE, |
505 {APIPermission::kAutofillPrivate}, | 505 {APIPermission::kAutofillPrivate}, |
506 {}}, | 506 {}}, |
| 507 {IDS_EXTENSION_PROMPT_WARNING_PASSWORDS_PRIVATE, |
| 508 {APIPermission::kPasswordsPrivate}, |
| 509 {}}, |
507 | 510 |
508 // Platform-app permission messages. | 511 // Platform-app permission messages. |
509 | 512 |
510 // The permission string for "fileSystem" is only shown when | 513 // The permission string for "fileSystem" is only shown when |
511 // "write" or "directory" is present. Read-only access is only | 514 // "write" or "directory" is present. Read-only access is only |
512 // granted after the user has been shown a file or directory | 515 // granted after the user has been shown a file or directory |
513 // chooser dialog and selected a file or directory. Selecting | 516 // chooser dialog and selected a file or directory. Selecting |
514 // the file or directory is considered consent to read it. | 517 // the file or directory is considered consent to read it. |
515 {IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_DIRECTORY, | 518 {IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_DIRECTORY, |
516 {APIPermission::kFileSystemDirectory}, | 519 {APIPermission::kFileSystemDirectory}, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 insert(permission_four); | 675 insert(permission_four); |
673 insert(permission_five); | 676 insert(permission_five); |
674 insert(permission_six); | 677 insert(permission_six); |
675 } | 678 } |
676 | 679 |
677 ChromePermissionMessageRule::PermissionIDSetInitializer:: | 680 ChromePermissionMessageRule::PermissionIDSetInitializer:: |
678 ~PermissionIDSetInitializer() { | 681 ~PermissionIDSetInitializer() { |
679 } | 682 } |
680 | 683 |
681 } // namespace extensions | 684 } // namespace extensions |
OLD | NEW |