| 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 {}}, | 492 {}}, |
| 493 {IDS_EXTENSION_PROMPT_WARNING_EXPERIENCE_SAMPLING_PRIVATE, | 493 {IDS_EXTENSION_PROMPT_WARNING_EXPERIENCE_SAMPLING_PRIVATE, |
| 494 {APIPermission::kExperienceSamplingPrivate}, | 494 {APIPermission::kExperienceSamplingPrivate}, |
| 495 {}}, | 495 {}}, |
| 496 {IDS_EXTENSION_PROMPT_WARNING_NETWORKING_PRIVATE, | 496 {IDS_EXTENSION_PROMPT_WARNING_NETWORKING_PRIVATE, |
| 497 {APIPermission::kNetworkingPrivate}, | 497 {APIPermission::kNetworkingPrivate}, |
| 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, |
| 503 {APIPermission::kSearchEnginesPrivate}, |
| 504 {}}, |
| 502 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, | 505 {IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE, |
| 503 {APIPermission::kSettingsPrivate}, | 506 {APIPermission::kSettingsPrivate}, |
| 504 {}}, | 507 {}}, |
| 505 | 508 |
| 506 // Platform-app permission messages. | 509 // Platform-app permission messages. |
| 507 | 510 |
| 508 // The permission string for "fileSystem" is only shown when | 511 // The permission string for "fileSystem" is only shown when |
| 509 // "write" or "directory" is present. Read-only access is only | 512 // "write" or "directory" is present. Read-only access is only |
| 510 // granted after the user has been shown a file or directory | 513 // granted after the user has been shown a file or directory |
| 511 // chooser dialog and selected a file or directory. Selecting | 514 // chooser dialog and selected a file or directory. Selecting |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 insert(permission_four); | 669 insert(permission_four); |
| 667 insert(permission_five); | 670 insert(permission_five); |
| 668 insert(permission_six); | 671 insert(permission_six); |
| 669 } | 672 } |
| 670 | 673 |
| 671 ChromePermissionMessageRule::PermissionIDSetInitializer:: | 674 ChromePermissionMessageRule::PermissionIDSetInitializer:: |
| 672 ~PermissionIDSetInitializer() { | 675 ~PermissionIDSetInitializer() { |
| 673 } | 676 } |
| 674 | 677 |
| 675 } // namespace extensions | 678 } // namespace extensions |
| OLD | NEW |