-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS-Sync] Delete Other Devices (Uplift to 1.18.x) #7576
Conversation
…s was removed). Adding back deleting other devices using the 1.20.x API (profile_helper). Changed ResetSync to use the brave_sync::ResetSync from profile_helper.
auto device_value = base::Value::FromUniquePtrValue(device->ToValue()); | ||
bool is_current_device = | ||
local_device_info ? local_device_info->guid() == device->guid() : false; | ||
device_value.SetBoolKey("isCurrentDevice", is_current_device); | ||
device_value.SetStringKey("guid", device->guid()); | ||
device_value.SetBoolKey("supportsSelfDelete", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find where supportsSelfDelete
is used neither in branch ios/sync-delete-devices
nor in https://github.com/brave/brave-ios . Or this is supposed in upcoming PRs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would decide whether we allow users to delete remote devices from device list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, so this is for future use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Quick context: Closed as we're going to base |
Implementation Details
brave_services_key
Resolves brave/brave-ios#3194 and brave/brave-ios#3195
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed).Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on.
Test Plan: