-
Notifications
You must be signed in to change notification settings - Fork 903
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] Pass in correct browser when creating sync tabs #27373
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This ensures we pass the correct Browser instance for the given mode since the profile is now passed into the BrowserWebStateListDelegate from the Browser provided Chromium change: commit b3988605f0dfe77bb107168522317407908e7d90 Author: Sylvain Defresne <sdefresne@chromium.org> Date: Mon Dec 2 13:13:59 2024 +0000 [ios] Enforce Browser invariant in BrowserWebStateListDelegate The Browser implementation has an invariant that all inserted WebStates share the same ProfileIOS but it is not enforced. Change the delegate implementation to take the ProfileIOS as a parameter and to check that it is the same as those of all WebState that are inserted into it (via the WillAddWebState(...) delegate method). Fixed: 379806634 Change-Id: I4e1023c48698deb14577341ded2a589dffab2726
StephenHeaps
approved these changes
Jan 28, 2025
mkarolin
pushed a commit
that referenced
this pull request
Jan 28, 2025
[iOS] Pass in correct browser when creating sync tabs
24 tasks
Released in v1.76.44 |
mkarolin
pushed a commit
that referenced
this pull request
Jan 29, 2025
[iOS] Pass in correct browser when creating sync tabs
kjozwiak
pushed a commit
that referenced
this pull request
Jan 30, 2025
* Merge pull request #26537 from brave/cr133 Upgrade from Chromium 132 to Chromium 133. * [cr133][1.75.x] base::make_span was removed. All uses of `base::make_span` can be just `span{}`. Chromium change: https://chromium-review.googlesource.com/c/chromium/src/+/6066402 commit b394ea77c33ed427269ad91712467c2da6e12e7e Author: Peter Kasting <pkasting@chromium.org> Date: Tue Dec 3 23:04:42 2024 +0000 Remove make_span. This is no longer used. Bug: 341907909 * [cr133][1.75.x] Avoid TabHandle refactor Chromium change: https://chromium.googlesource.com/chromium/src/+/936ba32422c40d955ab2e1f77a41eea870e1170c commit 936ba32422c40d955ab2e1f77a41eea870e1170c Author: Taylor Bergquist <tbergquist@chromium.org> Date: Wed Nov 13 19:10:18 2024 +0000 Clean up TabHandle usage. TabHandle should only be used when there is a possibility the tab might be closed during the lifetime of the handle. This wasn't true of most uses; switch those over to TabInterface*. This will make it easier to move TabHandle over to TabInterface. This CL also includes some cleanup in TabStripModel, removing some TabHandle convenience methods and switching use of TabModel methods to the TabInterface equivalents. Some of it is a bit forward looking - the next CL will remove some of those TabModel only methods. The CL also includes a small cleanup in TabInterface::MaybeGetFromHandle so it resolves TabHandle IDs in the normal way (no behavior change). Bug: 376752361 * also patch cxx crate from https://github.com/brave/brave-core/commit/… (#27185) also patch cxx crate from a22fc31 Change presubmit patch empty line to error to allow upstream patches that do not comply with Brave patching standards * Merge pull request #27359 from brave/maxk-disable-kOneTimePermission [cr133 follow up] Disables kOneTimePermission permissions feature. * Merge pull request #27372 from brave/maxk-hide-settings-cookies-row [cr133 follow up] Hide cookies row on Settings' privacy page. * [Android] Clean up modern_grey colors for 1.75.x Chromium change: https://chromium.googlesource.com/chromium/src/+/e99dac41a65779af4bfb8a15cde443478f51cc2f [clank-q4-fixit] Clean up modern_grey colors pt 2 Bug: 40910276 * Merge pull request #27373 from brave/ios-cr133-private-mode-crash [iOS] Pass in correct browser when creating sync tabs * Merge pull request #27378 from brave/ios-cr133-profile-creation-fix [iOS] Use original initial profile name for main profile creation * Merge pull request #27371 from brave/maxk-cr133-upstream-memory-pressure-fix [cr133 upstream fix] Fix Prevent Hang in Memory Pressure Calculation … * Merge pull request #27402 from brave/maxk-disable-history-embeddings [cr133 follow up] Disables history embeddings features. * Merge pull request #27394 from brave/133.0.6943.39_master Upgrade from Chromium 133.0.6943.27 to Chromium 133.0.6943.39. --------- Co-authored-by: Brian Johnson <34129+bridiver@users.noreply.github.com> Co-authored-by: Artem Samoilenko <artem@brave.com> Co-authored-by: Kyle Hickinson <kylehickinson@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI/skip-android
Do not run CI builds for Android
CI/skip-macos-arm64
Do not run CI builds for macOS arm64
CI/skip-macos-x64
Do not run CI builds for macOS x64
CI/skip-teamcity
Do not run builds in TeamCity
CI/skip-windows-x64
Do not run CI builds for Windows x64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This ensures we pass the correct Browser instance for the given mode since the profile is now passed into the BrowserWebStateListDelegate from the Browser provided
Resolves brave/brave-browser#43534
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
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: