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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 {}}, | 498 {}}, |
499 {IDS_EXTENSION_PROMPT_WARNING_MUSIC_MANAGER_PRIVATE, | 499 {IDS_EXTENSION_PROMPT_WARNING_MUSIC_MANAGER_PRIVATE, |
500 {APIPermission::kMusicManagerPrivate}, | 500 {APIPermission::kMusicManagerPrivate}, |
501 {}}, | 501 {}}, |
502 {IDS_EXTENSION_PROMPT_WARNING_SEARCH_ENGINES_PRIVATE, | 502 {IDS_EXTENSION_PROMPT_WARNING_SEARCH_ENGINES_PRIVATE, |
503 {APIPermission::kSearchEnginesPrivate}, | 503 {APIPermission::kSearchEnginesPrivate}, |
504 {}}, | 504 {}}, |
505 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, | 505 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, |
506 {APIPermission::kSettingsPrivate}, | 506 {APIPermission::kSettingsPrivate}, |
507 {}}, | 507 {}}, |
| 508 {IDS_EXTENSION_PROMPT_WARNING_AUTOFILL_PRIVATE, |
| 509 {APIPermission::kAutofillPrivate}, |
| 510 {}}, |
508 | 511 |
509 // Platform-app permission messages. | 512 // Platform-app permission messages. |
510 | 513 |
511 // The permission string for "fileSystem" is only shown when | 514 // The permission string for "fileSystem" is only shown when |
512 // "write" or "directory" is present. Read-only access is only | 515 // "write" or "directory" is present. Read-only access is only |
513 // granted after the user has been shown a file or directory | 516 // granted after the user has been shown a file or directory |
514 // chooser dialog and selected a file or directory. Selecting | 517 // chooser dialog and selected a file or directory. Selecting |
515 // the file or directory is considered consent to read it. | 518 // the file or directory is considered consent to read it. |
516 {IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_DIRECTORY, | 519 {IDS_EXTENSION_PROMPT_WARNING_FILE_SYSTEM_DIRECTORY, |
517 {APIPermission::kFileSystemDirectory}, | 520 {APIPermission::kFileSystemDirectory}, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 insert(permission_four); | 672 insert(permission_four); |
670 insert(permission_five); | 673 insert(permission_five); |
671 insert(permission_six); | 674 insert(permission_six); |
672 } | 675 } |
673 | 676 |
674 ChromePermissionMessageRule::PermissionIDSetInitializer:: | 677 ChromePermissionMessageRule::PermissionIDSetInitializer:: |
675 ~PermissionIDSetInitializer() { | 678 ~PermissionIDSetInitializer() { |
676 } | 679 } |
677 | 680 |
678 } // namespace extensions | 681 } // namespace extensions |
OLD | NEW |