diff options
author | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-29 02:48:11 +0000 |
---|---|---|
committer | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-29 02:48:11 +0000 |
commit | 34b5f7f5456366d1ac172d1215d74b4157c5525d (patch) | |
tree | baf913e35c39654734b6cc10b331b98b60afb362 /chrome/browser/chromeos/file_manager/app_installer.cc | |
parent | 2d7baa52aba7ed58943a96d4712753d9c2ad45c1 (diff) | |
download | chromium_src-34b5f7f5456366d1ac172d1215d74b4157c5525d.zip chromium_src-34b5f7f5456366d1ac172d1215d74b4157c5525d.tar.gz chromium_src-34b5f7f5456366d1ac172d1215d74b4157c5525d.tar.bz2 |
Make sideloaded (externally installed) extensions display webstore info
Have sideloaded extensions pull data from the webstore (a la inline install) in
order to give the users a better idea of what extension they are installing.
Images worth 1000 words: http://imgur.com/zlexZeb,VljPXLz,WzT2ZOc#0
XIB changes:
* rename 'app/nibs/ExtensionInstallPromptInline.xib' to 'app/nibs/ExtensionInstallPromptWebstoreData', since the same prompt is now used for inline prompts and for sideloaded extensions when webstore data is available.
BUG=323063
Review URL: https://codereview.chromium.org/145153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/file_manager/app_installer.cc')
-rw-r--r-- | chrome/browser/chromeos/file_manager/app_installer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/file_manager/app_installer.cc b/chrome/browser/chromeos/file_manager/app_installer.cc index fa4b704..40c90cd 100644 --- a/chrome/browser/chromeos/file_manager/app_installer.cc +++ b/chrome/browser/chromeos/file_manager/app_installer.cc @@ -69,10 +69,10 @@ AppInstaller::CreateInstallPrompt() const { new ExtensionInstallPrompt::Prompt( ExtensionInstallPrompt::INLINE_INSTALL_PROMPT)); - prompt->SetInlineInstallWebstoreData(localized_user_count(), - show_user_count(), - average_rating(), - rating_count()); + prompt->SetWebstoreData(localized_user_count(), + show_user_count(), + average_rating(), + rating_count()); return prompt.Pass(); } |