Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Set initial default download path #390

Closed
wants to merge 1 commit into from
Closed

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Nov 16, 2017

@darkdh darkdh self-assigned this Nov 16, 2017
darkdh added a commit to brave/browser-laptop that referenced this pull request Nov 16, 2017
fix #9822
requires brave/muon#390

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
1. Open Brave with fresh profile
2. Go to about:preferences#general
3. It should show default download path instead of empty
@darkdh darkdh force-pushed the browser-laptop-issue-9822 branch from ce14894 to 96c98a6 Compare November 16, 2017 05:21
darkdh added a commit to brave/browser-laptop that referenced this pull request Nov 16, 2017
fix #9822
requires brave/muon#390

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
1. Open Brave with fresh profile
2. Go to about:preferences#general
3. It should show default download path instead of empty
@@ -699,6 +700,12 @@ void App::SetPath(mate::Arguments* args,
args->ThrowError("Failed to set path");
}

base::FilePath App::GetInitialDownloadPath() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this already accessible with getPath('downloads')?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, you are right!!! I'm going to close this PR and update PR of browser-laptop

@darkdh
Copy link
Member Author

darkdh commented Nov 29, 2017

per #390 (comment)

@darkdh darkdh closed this Nov 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brave should default download path to the downloads folder
2 participants