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

Issue 613163004: [chromedriver] setting browser default download directory (Closed)

Created:
6 years, 2 months ago by andrewcheng
Modified:
6 years, 2 months ago
Reviewers:
samuong
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[chromedriver] setting browser default download directory BUG=chromedriver:783 Committed: https://crrev.com/e361733704a9d522ea6a49f64e380ef7bc7794ad Cr-Commit-Position: refs/heads/master@{#300531}

Patch Set 1 #

Total comments: 16

Patch Set 2 : codes review fixed #

Patch Set 3 : minor change - word spelling #

Patch Set 4 : Modified the codes based on the code review #

Patch Set 5 : in progress #

Patch Set 6 : add test testDownloadDirectoryOverridesExistingPreferences #

Total comments: 22

Patch Set 7 : Modified codes based on reviewer's comments - please ignore this #

Patch Set 8 : Modified codes based on reviewer's comments #

Total comments: 36

Patch Set 9 : Modified codes based on reviewer's comments #

Total comments: 18

Patch Set 10 : Modified codes based on reviewer's comments #

Total comments: 21

Patch Set 11 : Modified codes based on reviewer's comments - please ignore this #

Patch Set 12 : Modified codes based on reviewer's comments - please ignore this #

Patch Set 13 : Modified codes based on reviewer's comments - please ignore this #

Patch Set 14 : Modified codes based on reviewer's comments #

Patch Set 15 : Modified codes based on reviewer's comments #

Patch Set 16 : for window compiler - (std::string) #

Patch Set 17 : for window compiler - base::FilePath::StringType #

Patch Set 18 : static_cast<base::FilePath::StringType> #

Patch Set 19 : use GetSwitchValueNative #

Total comments: 1

Patch Set 20 : minor change for code standard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -19 lines) Patch
M chrome/test/chromedriver/chrome/chrome_desktop_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome_launcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +36 lines, -13 lines 0 comments Download
M chrome/test/chromedriver/client/chromedriver.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +9 lines, -1 line 0 comments Download
M chrome/test/chromedriver/test/run_py_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +60 lines, -3 lines 0 comments Download
A + chrome/test/data/chromedriver/anchor_download_test.png View 1 2 3 4 5 6 Binary file 0 comments Download
A chrome/test/data/chromedriver/download.html View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
samuong
Thanks for looking into this issue. I've got a few comments below. Also please delete ...
6 years, 2 months ago (2014-10-01 20:22:13 UTC) #2
samuong
On 2014/10/01 20:22:13, samuong wrote: > Thanks for looking into this issue. I've got a ...
6 years, 2 months ago (2014-10-08 18:27:41 UTC) #3
andrewcheng
Modified the codes based on code review on Oct. 8 https://codereview.chromium.org/613163004/diff/1/chrome/test/chromedriver/capabilities.cc File chrome/test/chromedriver/capabilities.cc (right): https://codereview.chromium.org/613163004/diff/1/chrome/test/chromedriver/capabilities.cc#newcode566 ...
6 years, 2 months ago (2014-10-08 22:08:26 UTC) #4
samuong
For some reason run_py_tests.py has been moved into the chrome/test/chromedriver/client directory, but it should be ...
6 years, 2 months ago (2014-10-09 19:54:44 UTC) #5
andrewcheng
6 years, 2 months ago (2014-10-15 19:14:02 UTC) #6
samuong
https://codereview.chromium.org/613163004/diff/110001/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc File chrome/test/chromedriver/chrome/chrome_desktop_impl.cc (right): https://codereview.chromium.org/613163004/diff/110001/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc#newcode81 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc:81: } Since you're not changing anything here, please delete ...
6 years, 2 months ago (2014-10-15 22:08:18 UTC) #7
andrewcheng
Hi Sam, Please review it. Thanks, Andrew
6 years, 2 months ago (2014-10-16 18:08:41 UTC) #8
samuong
On 2014/10/16 18:08:41, andrewcheng wrote: > Hi Sam, > > Please review it. > > ...
6 years, 2 months ago (2014-10-16 20:23:32 UTC) #9
samuong
https://codereview.chromium.org/613163004/diff/150001/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc File chrome/test/chromedriver/chrome/chrome_desktop_impl.cc (right): https://codereview.chromium.org/613163004/diff/150001/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc#newcode93 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc:93: LOG(WARNING) << " and " << extension_dir.value(); This error ...
6 years, 2 months ago (2014-10-16 20:23:41 UTC) #10
samuong
Thanks Andrew, this looks good. There's just one cleanup issue that we need to resolve ...
6 years, 2 months ago (2014-10-17 21:52:26 UTC) #11
andrewcheng
Hi Sam, Please review it. Thanks, Andrew https://codereview.chromium.org/613163004/diff/150001/chrome/test/chromedriver/client/chromedriver.py File chrome/test/chromedriver/client/chromedriver.py (right): https://codereview.chromium.org/613163004/diff/150001/chrome/test/chromedriver/client/chromedriver.py#newcode122 chrome/test/chromedriver/client/chromedriver.py:122: default_dir['directory_upgrade'] = ...
6 years, 2 months ago (2014-10-17 22:59:56 UTC) #12
samuong
Just a few more things. Please mark them as "done" or reply if you don't ...
6 years, 2 months ago (2014-10-17 23:30:35 UTC) #13
andrewcheng
please review it https://codereview.chromium.org/613163004/diff/190001/chrome/test/chromedriver/chrome_launcher.cc File chrome/test/chromedriver/chrome_launcher.cc (right): https://codereview.chromium.org/613163004/diff/190001/chrome/test/chromedriver/chrome_launcher.cc#newcode146 chrome/test/chromedriver/chrome_launcher.cc:146: capabilities.local_state.get()); On 2014/10/17 23:30:34, samuong wrote: ...
6 years, 2 months ago (2014-10-18 00:45:46 UTC) #14
samuong
On 2014/10/18 00:45:46, andrewcheng wrote: > please review it > > https://codereview.chromium.org/613163004/diff/190001/chrome/test/chromedriver/chrome_launcher.cc > File chrome/test/chromedriver/chrome_launcher.cc ...
6 years, 2 months ago (2014-10-18 00:49:43 UTC) #15
samuong
On 2014/10/18 00:49:43, samuong wrote: > On 2014/10/18 00:45:46, andrewcheng wrote: > > please review ...
6 years, 2 months ago (2014-10-18 18:10:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613163004/290001
6 years, 2 months ago (2014-10-18 18:11:34 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/20731)
6 years, 2 months ago (2014-10-18 18:50:16 UTC) #20
andrewcheng
Hi Sam, Build is completed. Andrew
6 years, 2 months ago (2014-10-21 00:59:50 UTC) #21
samuong
lgtm, with one nit https://codereview.chromium.org/613163004/diff/370001/chrome/test/chromedriver/chrome_launcher.cc File chrome/test/chromedriver/chrome_launcher.cc (right): https://codereview.chromium.org/613163004/diff/370001/chrome/test/chromedriver/chrome_launcher.cc#newcode140 chrome/test/chromedriver/chrome_launcher.cc:140: GetSwitchValueNative("user-data-dir")); can you put the ...
6 years, 2 months ago (2014-10-21 01:01:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613163004/390001
6 years, 2 months ago (2014-10-21 17:58:40 UTC) #28
commit-bot: I haz the power
Committed patchset #20 (id:390001)
6 years, 2 months ago (2014-10-21 19:07:03 UTC) #29
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 19:07:47 UTC) #30
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/e361733704a9d522ea6a49f64e380ef7bc7794ad
Cr-Commit-Position: refs/heads/master@{#300531}

Powered by Google App Engine
This is Rietveld 408576698