Descriptionfilechooser: Add SelectedFileInfo class to pass display names to WebKit
Files on gdata are cached locally with human unreadable names like
/blah/gdata/cache/d41d8cd98f00b204e9800998ecf8427e. When these files
are selected from the file chooser for uploading from <form>,
we should pass display names, in addition to real paths, to WebKit,
so the proper names are shown in web pages, and used for uploading.
This patch simply adds SelectedFileInfo with minimal code changes.
There should be no behavior changes.
The file selection code for Chrome OS will be changed in a separate patch.
BUG=chromium-os:27222
TEST=try bots.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126606
Patch Set 1 #Patch Set 2 : polish #Patch Set 3 : polish #
Total comments: 9
Patch Set 4 : address comments #Patch Set 5 : StringType #Patch Set 6 : rebased #
Total comments: 6
Patch Set 7 : address comments #Patch Set 8 : add selected_file_info.h #
Total comments: 16
Patch Set 9 : address jam's comments #Patch Set 10 : add a missing #include #Patch Set 11 : copyright years #
Messages
Total messages: 16 (0 generated)
|