| Index: chrome/browser/extensions/extension_install_prompt.h
|
| diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
|
| index 1b6ddbc2938145ad952e3d7e092606b571220555..fe43de1ade622728ba79cc8f3700733e88538d7d 100644
|
| --- a/chrome/browser/extensions/extension_install_prompt.h
|
| +++ b/chrome/browser/extensions/extension_install_prompt.h
|
| @@ -70,7 +70,10 @@ class ExtensionInstallPrompt
|
| explicit Prompt(PromptType type);
|
| ~Prompt();
|
|
|
| - void SetPermissions(const std::vector<string16>& permissions);
|
| + // Sets the permission list for this prompt. |verbose| specifies whether
|
| + // the caller is requesting to store a verbose (more detailed) list or the
|
| + // simpler list (and overview of the permission).
|
| + void SetPermissions(const std::vector<string16>& permissions, bool verbose);
|
| void SetInlineInstallWebstoreData(const std::string& localized_user_count,
|
| double average_rating,
|
| int rating_count);
|
| @@ -91,6 +94,8 @@ class ExtensionInstallPrompt
|
| string16 GetPermissionsHeading() const;
|
| string16 GetOAuthHeading() const;
|
| string16 GetRetainedFilesHeading() const;
|
| + string16 GetRetainedFilesHeadingWithCount() const;
|
| +
|
| bool ShouldShowPermissions() const;
|
|
|
| // Getters for webstore metadata. Only populated when the type is
|
| @@ -104,8 +109,8 @@ class ExtensionInstallPrompt
|
| void AppendRatingStars(StarAppender appender, void* data) const;
|
| string16 GetRatingCount() const;
|
| string16 GetUserCount() const;
|
| - size_t GetPermissionCount() const;
|
| - string16 GetPermission(size_t index) const;
|
| + size_t GetPermissionCount(bool verbose) const;
|
| + string16 GetPermission(size_t index, bool verbose) const;
|
| size_t GetOAuthIssueCount() const;
|
| const IssueAdviceInfoEntry& GetOAuthIssue(size_t index) const;
|
| size_t GetRetainedFileCount() const;
|
| @@ -139,6 +144,7 @@ class ExtensionInstallPrompt
|
| // Permissions that are being requested (may not be all of an extension's
|
| // permissions if only additional ones are being requested)
|
| std::vector<string16> permissions_;
|
| + std::vector<string16> permissions_verbose_;
|
|
|
| // Descriptions and details for OAuth2 permissions to display to the user.
|
| // These correspond to permission scopes.
|
|
|