======================================================================== http://mondrian.corp.google.com/file/9228479///depot/googleclient/gears/opensource/gears/desktop/drag_and_drop_utils_ff.cc?a=2 File //depot/googleclient/gears/opensource/gears/desktop/drag_and_drop_utils_ff.cc (snapshot 2) ------------------------------------ Line 505: // that is, does the file extension include the dot at the start. On 10:45 pm, 3 Dec, noel wrote: > use whatever File::GetFileExtension(filename.get())) returns
Well, that's what the current base/common/file.h code does, but I was thinking more about what API do we want to present to JS developers. Personally, I think that the leading dot is redundant information, and I would take it out. ======================================================================== -- To respond, reply to this email or visit http://mondrian.corp.google.com/9228479
