Don't call FileChooser::chooseFile("") if a user selects nothing with a file chooser dialog. chooseFiles() works well even for an empty vector.
Don't call FileChooser::chooseFile("") if a user selects nothing with a file chooser dialog.
chooseFiles() works well even for an empty vector.

BUG=14162,14164
TEST=Open an image upload dialog of Gmail or Google Sites,
  Click the file upload button,
  Click the Cancel button in the file chooser dialog.
  Confirm that the dialog doesn't show "[failed]" message.

Review URL: http://codereview.chromium.org/125175

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@18696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser