Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Issue 663473002: Add non-native file handling in FileSelectorHelper class. (Closed)

Created:
6 years, 2 months ago by hirono
Modified:
6 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add non-native file handling in FileSelectorHelper class. In chrome OS, the file chooser dialog box may return paths that does not point to a native file. The CL lets FileSelectorHelper handle for the non-native paths and generate FileChooserFileInfo that refers non-native files. BUG=126902 TEST=manually test to upload drive/local files Committed: https://crrev.com/275bfbeecf2d34a54ff086c40660b7bd271a4147 Cr-Commit-Position: refs/heads/master@{#300399}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed. #

Total comments: 2

Patch Set 3 : Fixed. #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -21 lines) Patch
M chrome/browser/file_select_helper.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/file_select_helper.cc View 1 2 3 3 chunks +53 lines, -21 lines 2 comments Download

Messages

Total messages: 19 (5 generated)
hirono
PTAL the CL? Thank you!
6 years, 2 months ago (2014-10-16 09:16:35 UTC) #2
hirono
PTAL the CL? @avi - file_select_helper_mac.mm @thestig - file_select_helper.{h,cc} Thank you!
6 years, 2 months ago (2014-10-16 09:19:35 UTC) #4
Avi (use Gerrit)
I found the whole CL interesting :) https://codereview.chromium.org/663473002/diff/1/chrome/browser/file_select_helper.h File chrome/browser/file_select_helper.h (right): https://codereview.chromium.org/663473002/diff/1/chrome/browser/file_select_helper.h#newcode145 chrome/browser/file_select_helper.h:145: // Converts ...
6 years, 2 months ago (2014-10-16 15:21:20 UTC) #5
hirono
Thank you! https://codereview.chromium.org/663473002/diff/1/chrome/browser/file_select_helper.h File chrome/browser/file_select_helper.h (right): https://codereview.chromium.org/663473002/diff/1/chrome/browser/file_select_helper.h#newcode145 chrome/browser/file_select_helper.h:145: // Converts |files| into FileChooserFileInfo with handling ...
6 years, 2 months ago (2014-10-17 11:42:11 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/663473002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/663473002/diff/20001/chrome/browser/file_select_helper.cc#newcode262 chrome/browser/file_select_helper.cc:262: chooser_files[i].display_name = files[i].display_name; How does this work? chooser_files starts ...
6 years, 2 months ago (2014-10-17 19:38:52 UTC) #7
hirono
https://codereview.chromium.org/663473002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/663473002/diff/20001/chrome/browser/file_select_helper.cc#newcode262 chrome/browser/file_select_helper.cc:262: chooser_files[i].display_name = files[i].display_name; On 2014/10/17 19:38:52, Avi wrote: > ...
6 years, 2 months ago (2014-10-20 04:10:48 UTC) #8
Avi (use Gerrit)
lgtm
6 years, 2 months ago (2014-10-20 14:28:11 UTC) #9
Lei Zhang
lgtm stamp https://codereview.chromium.org/663473002/diff/60001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/663473002/diff/60001/chrome/browser/file_select_helper.cc#newcode276 chrome/browser/file_select_helper.cc:276: list ? *list : std::vector<content::FileChooserFileInfo>(), In a ...
6 years, 2 months ago (2014-10-20 19:07:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663473002/60001
6 years, 2 months ago (2014-10-20 19:16:02 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/65306)
6 years, 2 months ago (2014-10-20 19:38:25 UTC) #14
hirono
Thank you reviewers! https://codereview.chromium.org/663473002/diff/60001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/663473002/diff/60001/chrome/browser/file_select_helper.cc#newcode276 chrome/browser/file_select_helper.cc:276: list ? *list : std::vector<content::FileChooserFileInfo>(), On ...
6 years, 2 months ago (2014-10-21 01:41:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663473002/60001
6 years, 2 months ago (2014-10-21 01:43:53 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-21 01:46:36 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 01:47:23 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/275bfbeecf2d34a54ff086c40660b7bd271a4147
Cr-Commit-Position: refs/heads/master@{#300399}

Powered by Google App Engine
This is Rietveld 408576698