Skip to content
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

Upgrade from Chromium 123 to Chromium 124. #22320

Merged
merged 130 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
4495827
Update from Chromium 123.0.6312.105 to Chromium 124.0.6367.29.
cdesouza-chromium Feb 22, 2024
bcbf6bb
Conflict-resolved patches from Chromium 123.0.6312.105 to Chromium 12…
cdesouza-chromium Feb 22, 2024
f173359
Update patches from Chromium 123.0.6312.105 to Chromium 124.0.6367.29.
cdesouza-chromium Mar 27, 2024
f042d58
Updated strings for Chromium 124.0.6367.29.
cdesouza-chromium Mar 7, 2024
334254a
`kPartitionedCookies` deleted upstream
cdesouza-chromium Feb 23, 2024
76faa16
IWYU fixes
cdesouza-chromium Feb 23, 2024
65737e8
Removing straggling `absl::optional` references
cdesouza-chromium Feb 23, 2024
0ef3e1b
`GenerateBitmap` retuning a `SkBitmap`
cdesouza-chromium Feb 23, 2024
7fd2e86
`LocalDataContainer` removed cache storage arg
cdesouza-chromium Feb 23, 2024
317c31b
`GetVisiblePermissionCategories` signature changed
cdesouza-chromium Feb 23, 2024
d4126f6
Unwanted substitution with `VideoPictureInPictureWindowControllerImpl`
cdesouza-chromium Feb 23, 2024
0c26e84
`chrome_test_launcher.h` has its own target
cdesouza-chromium Feb 23, 2024
384974a
[Android] Minor code adjustments to the C124 upstream changes
samartnik Feb 23, 2024
0ae6a3a
Explicitly included utf_string_conversions.h
samartnik Feb 26, 2024
c52303f
[Android] Fix for wallet deposit-funds android page
samartnik Feb 29, 2024
e9320f3
[rust] `cxx` updated to `1.0.117`
cdesouza-chromium Feb 26, 2024
7203e51
Used typed promises to resolve to boolean
cdesouza-chromium Feb 26, 2024
8058afb
Reanchor `TracingDataType` override
cdesouza-chromium Feb 26, 2024
a84d769
Use `GetBookmarkModel` with omnibox action
cdesouza-chromium Feb 27, 2024
c6b1b76
`DOMWrapperWorld` being passed as a pointer
cdesouza-chromium Feb 27, 2024
f0aaa96
Restore AllowScript functionality
cdesouza-chromium Feb 27, 2024
3931e09
`SessionModel` now a mojom type
cdesouza-chromium Feb 27, 2024
83fc318
`BookmarkModelObserver` not passing a pointer at every override
cdesouza-chromium Feb 28, 2024
18515b4
[WIP] `kPermissionStorageAccessAPI` deleted upstream
cdesouza-chromium Feb 29, 2024
3f54a89
Restore kPermissionStorageAccessAPI flag functionality.
mkarolin Mar 1, 2024
000869c
[Android] Move AccessibilitySettings to //chrome
samartnik Feb 29, 2024
223871d
[Android] OpenHistoryClustersDelegate was removed
samartnik Feb 29, 2024
77b1f2d
[Android] Remove deprecated getLastUsedRegularProfile from Profile
samartnik Mar 1, 2024
ac02edb
[Android] Adjust Bottom Controls Toolbar height
samartnik Mar 1, 2024
14486b1
`kTextEmbeddingPageContentAnnotations` deleted upstream
cdesouza-chromium Mar 1, 2024
728395f
`GenerateBitmap` added quiet zone arg
cdesouza-chromium Mar 1, 2024
acf1383
`web_data_service_factory.h` changed paths.
cdesouza-chromium Mar 1, 2024
7290de6
`BrowsingDataType::NUM_TYPES` deleted
cdesouza-chromium Mar 1, 2024
1c9de4d
`sql::Recovery` deleted upstream
cdesouza-chromium Mar 1, 2024
65edba3
[Android] Changes for GetIconIdAndroid in request_type
samartnik Mar 1, 2024
8f593fe
[Android] Fixes for bytecode tests
samartnik Mar 1, 2024
f0f4af8
[ios] Use `LegacyBookmarkModel`
cdesouza-chromium Mar 1, 2024
fa2aa5d
[Android] New clear browsing data advanced setting
samartnik Mar 1, 2024
72417ad
`screen_ai` moved to a new path
cdesouza-chromium Mar 3, 2024
27fba6a
Fix ffmpeg linking errors involving SIMD floating points
cdesouza-chromium Mar 3, 2024
7fac54c
Reanchor `AvatarToolbarButtonDelegate` overrides
cdesouza-chromium Mar 3, 2024
b19e38d
[Android] New method for ThemeColorObserver
samartnik Mar 4, 2024
d7ebd57
Fixes incorrect header include.
mkarolin Mar 4, 2024
ffcecbb
[Sync] New COLLABORATION_GROUP ModelType
samartnik Mar 5, 2024
9716bd8
Fixes VerticalTabStrip crash.
mkarolin Mar 5, 2024
e33f67f
IWYU fix.
mkarolin Mar 6, 2024
db878d2
std::to_address is banned.
mkarolin Mar 6, 2024
a7625e7
base/chrome_test_launcher.* moved to their own build target
mkarolin Mar 6, 2024
57759b9
`kAttributionFencedFrameReportingBeacon` deleted upstream
cdesouza-chromium Mar 3, 2024
6890d35
`kRenameJourneys` deleted upstream
cdesouza-chromium Mar 3, 2024
81b2aee
`AvatarToolbarButtonDelegate` dtor divirtualised
cdesouza-chromium Mar 3, 2024
00ac348
`signin_metrics::ProfileSignout` histogram removed
cdesouza-chromium Mar 5, 2024
7795df0
`queryHandwritingRecognizer` returns a typed promise
cdesouza-chromium Mar 5, 2024
8b35d22
Use macro for google test flags
cdesouza-chromium Mar 5, 2024
a7eb31b
Privacy guide feaures deleted upstream
cdesouza-chromium Mar 7, 2024
590e045
[Android] Use assert_no_deps to ensure java and native trees do not c…
samartnik Mar 7, 2024
283c1da
[Android] Clean up refactor code in LayoutManager
samartnik Mar 7, 2024
59bfdd8
[Android] Revert "Adjust Bottom Controls Toolbar height"
samartnik Mar 7, 2024
0a098b0
[Android] Fix getTabGroupCount for tab groups with size 1
samartnik Mar 8, 2024
6dfa06a
Avoid `LegacyBookmarkModel`
cdesouza-chromium Mar 9, 2024
b5d9969
Move `BraveSavedTabGroupButton` into the parent's namespace
cdesouza-chromium Mar 8, 2024
a44053b
Reapply "Adjust Bottom Controls Toolbar height"
samartnik Mar 12, 2024
31d8e4a
Revert: [Android] New method for ThemeColorObserver
samartnik Mar 12, 2024
3fde033
`std::erase` now available
cdesouza-chromium Mar 8, 2024
5f1806d
`PermissionStatus` type collision fixed upstream
cdesouza-chromium Mar 9, 2024
4bfe6dc
`AppMenu` marked as final
cdesouza-chromium Mar 11, 2024
85afb62
Match `createHandwritingRecognizer` override return type
cdesouza-chromium Mar 11, 2024
643bc2b
`cr-searchable-drop-down` moved to Print Preview
cdesouza-chromium Mar 11, 2024
5525473
Moving `searchable-drop-down` into settings
cdesouza-chromium Mar 12, 2024
9a2645a
[WIP] `DisableContentSecurityPolicy` deleted for being unused
cdesouza-chromium Mar 13, 2024
8ca1de1
Support extra button for infobar on desktop
simonhong Mar 12, 2024
7a0e72a
[rust] `cxx` has been updated to a newer version
cdesouza-chromium Mar 14, 2024
e56421c
`WebUIBubbleManagerT` reworked into `WebUIBubbleManagerImpl`
cdesouza-chromium Mar 15, 2024
bf1cbd2
`kSpeculationRulesHeaderEnableThirdPartyOriginTrial` deleted
cdesouza-chromium Mar 15, 2024
8ff50e8
`kLegacyTechReportTopLevelUrl` deleted upstream
cdesouza-chromium Mar 15, 2024
d4f3870
`kPersistedClusters` deleted upstream
cdesouza-chromium Mar 15, 2024
32d20fe
`Browser::GetDelegateWeakPtr` removed
cdesouza-chromium Mar 15, 2024
e96aa94
`kPrivacySandboxApisEnabled` made private
cdesouza-chromium Mar 15, 2024
ddfdc02
`sql::BuiltInRecovery` deleted upstream
cdesouza-chromium Mar 15, 2024
138bd59
Update `GetSupportedKeySystems` derivation
cdesouza-chromium Mar 15, 2024
4970517
Fix `RealboxHandler` override path
cdesouza-chromium Mar 15, 2024
3330a6f
`kClientHintsFormFactor` renamed
cdesouza-chromium Mar 15, 2024
f9e16e4
Relocate StorageEstimate chromium_src override code.
mkarolin Mar 15, 2024
9333d0c
[Android] ToolbarColorObserverManager now observers overview color
samartnik Mar 15, 2024
1fc0645
[Android] New IP protection setting in privacy settings
samartnik Mar 19, 2024
b4f055a
Updated ModelTypeTest.ModelTypeCounts unit test.
mkarolin Mar 19, 2024
e91fbf3
`gnrt` run for Chromium 124.0.6356.6.
cdesouza-chromium Mar 19, 2024
65d6205
[rewrapper] Adding step to merger large cfg
cdesouza-chromium Mar 20, 2024
daaf46d
[Android] Set emulator version for tests back to 30
samartnik Mar 20, 2024
2222d02
Fix TS5055 typescript errors in /ui/webui/resources.
mkarolin Mar 20, 2024
64087db
GetBookmarksMatchingProperties signature changed.
mkarolin Mar 20, 2024
6a51924
Adjust `GetDropIndex` use for multiple URLs
cdesouza-chromium Mar 18, 2024
ce245ba
`ContentSettingsType::NUM_TYPES` removed.
cdesouza-chromium Mar 18, 2024
bc4a4c7
`OnSelectedTypesPrefChange` override to be updated
cdesouza-chromium Mar 18, 2024
629255d
`GetDedicatedUnderlyingModelForBrowserState` renamed
cdesouza-chromium Mar 18, 2024
450bede
`kSharedStorageAPIM123` feature flag renamed
cdesouza-chromium Mar 18, 2024
1305183
Updating hermetic toolchain
cdesouza-chromium Mar 19, 2024
3f66a62
`gnrt` run for Chromium 124.0.6367.8.
cdesouza-chromium Mar 21, 2024
b999ccb
[Android] Update Read Aloud magic toolbar button when page is translated
samartnik Mar 21, 2024
ab7a3cb
[Android] Update AutofillAddress/AddressEditor to use Profile-aware P…
samartnik Mar 21, 2024
533c639
[Android] Introduce common SearchActivity call-up mechanism
samartnik Mar 21, 2024
8e34fbb
[Android] Removed unused string
samartnik Mar 21, 2024
88f5691
`URLLoaderThrottle::Delegate::PauseReadingBodyFromNet` deleted
cdesouza-chromium Mar 22, 2024
5f52a53
Disables RedirectHeuristicTabHelper.
mkarolin Mar 22, 2024
0acdf5a
Disables crashing upstream unit tests.
mkarolin Mar 25, 2024
c4cfc5d
Disables failing upstream unit tests.
mkarolin Mar 25, 2024
e7e2477
Disables crashing upstream browser tests.
mkarolin Mar 25, 2024
e0f8a1e
Fixes DCHECK crash in SharedPinnedTabServiceBrowserTest.ActivatePinne…
mkarolin Mar 26, 2024
15b6a67
Fixes VerticalTabStripRootViewBrowserTest.* tests.
mkarolin Mar 26, 2024
c60977e
Restore vertical alignment of tab icon.
mkarolin Mar 27, 2024
f233ee6
Disables failing upstream browser tests.
mkarolin Mar 27, 2024
bc94bf3
Java formatting fixes.
mkarolin Mar 27, 2024
1af8d1f
Workaroud for NotificationAdPopupBrowserTest.CheckThemeChanged tests.
mkarolin Mar 28, 2024
7fb1466
[Android] Add Sync toggle for WebAPKs
samartnik Mar 28, 2024
7ff7061
Fixes hiding of Chrome certificate management link in Settings.
mkarolin Mar 28, 2024
620de6b
Fixes Clear Browsing Data dialog's On Exit page.
mkarolin Mar 28, 2024
fb7d72f
Fix SolanaProviderRendererTest
cypt4 Mar 29, 2024
b39c274
Fixes side panel colors for bookmarks and reading list.
mkarolin Mar 29, 2024
6bcbefb
base::EraseIf -> std::erase_if
mkarolin Apr 1, 2024
78372cd
Revert "[Android] Removed unused string"
mkarolin Apr 1, 2024
8e32d7d
base::MakeFixedFlatSet requires constexpr elements.
mkarolin Apr 2, 2024
7b59d97
Reader mode deleted upstream
cdesouza-chromium Mar 3, 2024
d2231dd
Avoid `Read`/`WriteBigEndian`
cdesouza-chromium Mar 14, 2024
7e6d7b7
`ContentsLayoutManager::Layout` not overridable anymore
cdesouza-chromium Apr 3, 2024
2a4560e
Disables upstream features flagged by security/privacy teams.
mkarolin Apr 3, 2024
1ddca08
[Android] Adjustments for the Read Aloud feature
samartnik Apr 3, 2024
80535c7
Formatting fixes.
mkarolin Apr 4, 2024
c1c8531
Convert StorageAccessAPIBrowserTest to PlatformBrowserTest.
mkarolin Apr 5, 2024
a14b2e5
Extend `ContentSettingsType` with mojom extensions
cdesouza-chromium Apr 5, 2024
da8a21b
[Android] Added missing import
samartnik Apr 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ deps = {
"third_party/bitcoin-core/src": "https://github.com/bitcoin/bitcoin.git@8105bce5b384c72cf08b25b7c5343622754e7337", # v25.0
"third_party/argon2/src": "https://github.com/P-H-C/phc-winner-argon2.git@62358ba2123abd17fccf2a108a301d4b52c01a7c",
"third_party/rapidjson/src": "https://github.com/Tencent/rapidjson.git@06d58b9e848c650114556a23294d0b6440078c61",
"third_party/reclient_configs/src": "https://github.com/EngFlow/reclient-configs.git@61ddd9705962a6c6c921b42c933451d4810aa28e",
"third_party/reclient_configs/src": "https://github.com/EngFlow/reclient-configs.git@21c8fe69ff771956c179847b8c1d9fd216181967",
'third_party/android_deps/libs/com_google_android_play_core': {
'packages': [
{
Expand Down
1 change: 1 addition & 0 deletions android/brave_java_sources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ brave_java_sources = [
"../../brave/android/java/org/chromium/chrome/browser/DormantUsersEngagementDialogFragment.java",
"../../brave/android/java/org/chromium/chrome/browser/InternetConnection.java",
"../../brave/android/java/org/chromium/chrome/browser/QRCodeShareDialogFragment.java",
"../../brave/android/java/org/chromium/chrome/browser/accessibility/settings/BraveAccessibilitySettings.java",
"../../brave/android/java/org/chromium/chrome/browser/app/BraveActivity.java",
"../../brave/android/java/org/chromium/chrome/browser/app/appmenu/AppMenuIconRowFooter.java",
"../../brave/android/java/org/chromium/chrome/browser/app/appmenu/BraveAppMenuPropertiesDelegateImpl.java",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,11 @@
</message>

<!-- Undo Bar -->
<message name="IDS_UNDO_BAR_GROUP_TABS_MESSAGE" desc="Message shown or announced when a group has been created.">
<ph name="TAB_COUNT">%1$s<ex>3</ex></ph> tabs grouped
<message name="IDS_UNDO_BAR_GROUP_TAB_MESSAGE" desc="Message shown or announced when a group has been created with a single tab.">
<ph name="TABS_COUNT_ONE">%1$s<ex>1</ex></ph> tab grouped
</message>
<message name="IDS_UNDO_BAR_GROUP_TABS_MESSAGE" desc="Message shown or announced when a group has been created with multiple tabs.">
<ph name="TABS_COUNT_MANY">%1$s<ex>3</ex></ph> tabs grouped
</message>

<!-- Bottom Tab Grid strings -->
Expand Down Expand Up @@ -222,11 +225,17 @@
<message name="IDS_ACCESSIBILITY_TAB_SWITCHER" desc="Accessibility string for Tab Switcher view. This string is announced when the Tab Switcher is shown to screen.">
Tab Switcher
</message>
<message name="IDS_ACCESSIBILITY_CLOSE_TAB_GROUP_BUTTON" desc="The accessibility text to read when the close button on a card representing a tab group is focused in grid tab switcher. When this close button is tapped, all tabs within the tab group will be closed. NUMBER_OF_TABS is the number of tabs within this group. Note that there are always at least two tabs in a group so plural form should always be used.">
Close tab group with <ph name="NUMBER_OF_TABS">%1$s<ex>2</ex></ph> tabs
<message name="IDS_ACCESSIBILITY_CLOSE_TAB_GROUP_BUTTON" desc="The accessibility text to read when the close button on a card representing a tab group is focused in grid tab switcher. When this close button is tapped, all tabs within the tab group will be closed. NUMBER_OF_TABS is the number of tabs within this group.">
{NUMBER_OF_TABS, plural,
=1 {Close tab group with <ph name="TABS_COUNT_ONE">%1$d<ex>1</ex></ph> tab.}
other {Close tab group with <ph name="TABS_COUNT_MANY">%1$d<ex>2</ex></ph> tabs.}
}
</message>
<message name="IDS_ACCESSIBILITY_CLOSE_TAB_GROUP_BUTTON_WITH_GROUP_NAME" desc="The accessibility text to read when the close button on a card representing a tab group is focused in grid tab switcher. When this close button is tapped, all tabs within the tab group will be closed. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group. Note that there are always at least two tabs in a group so plural form should always be used.">
Close <ph name="TITLE_OF_GROUP">%1$s<ex>shopping</ex></ph> group with <ph name="NUMBER_OF_TABS">%2$s<ex>2</ex></ph> tabs
<message name="IDS_ACCESSIBILITY_CLOSE_TAB_GROUP_BUTTON_WITH_GROUP_NAME" desc="The accessibility text to read when the close button on a card representing a tab group is focused in grid tab switcher. When this close button is tapped, all tabs within the tab group will be closed. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group.">
{NUMBER_OF_TABS, plural,
=1 {Close <ph name="TITLE_OF_GROUP">%1$s<ex>shopping</ex></ph> group with <ph name="TABS_COUNT_ONE">%2$d<ex>1</ex></ph> tab.}
other {Close <ph name="TITLE_OF_GROUP">%1$s<ex>shopping</ex></ph> group with <ph name="TABS_COUNT_MANY">%2$d<ex>2</ex></ph> tabs.}
}
</message>

<!-- Tab Selection Editor strings -->
Expand Down Expand Up @@ -332,23 +341,32 @@
<message name="IDS_TAB_GRID_DIALOG_TOOLBAR_EDIT_GROUP_NAME" desc="This text shows in the TabGridDialog toolbar menu as one menu item. When user selects this item, the group name field will be focused and the keyboard will show for users to edit the group name.">
Edit group name
</message>
<message name="IDS_TAB_GRID_DIALOG_TOOLBAR_EDIT_GROUP_COLOR" desc="This text shows in the TabGridDialog toolbar menu as one menu item. When user selects this item, a color picker popup window will appear and allow the user to update the color for this tab group.">
Edit group color
</message>

<!-- Tab Grid Dialog accessibility strings -->
<message name="IDS_ACCESSIBILITY_EXPAND_TAB_GROUP" desc="The accessibility text to read when a card representing a tab group is clicked in grid tab switcher. NUMBER_OF_TABS is the number of tabs within this group. Note that there are always at least two tabs in a group so plural form should always be used.">
Expand tab group with <ph name="NUMBER_OF_TABS">%1$s<ex>2</ex></ph> tabs.
<message name="IDS_ACCESSIBILITY_EXPAND_TAB_GROUP" desc="The accessibility text to read when a card representing a tab group is clicked in grid tab switcher. NUMBER_OF_TABS is the number of tabs within this group.">
{NUMBER_OF_TABS, plural,
=1 {Expand tab group with <ph name="TABS_COUNT_ONE">%1$d<ex>1</ex></ph> tab.}
other {Expand tab group with <ph name="TABS_COUNT_MANY">%1$d<ex>2</ex></ph> tabs.}
}
</message>
<message name="IDS_ACCESSIBILITY_EXPAND_TAB_GROUP_WITH_GROUP_NAME" desc="The accessibility text to read when a card representing a tab group is clicked in grid tab switcher. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group. Note that there are always at least two tabs in a group so plural form should always be used.">
Expand <ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph> tab group with <ph name="NUMBER_OF_TABS">%2$s<ex>2</ex></ph> tabs.
<message name="IDS_ACCESSIBILITY_EXPAND_TAB_GROUP_WITH_GROUP_NAME" desc="The accessibility text to read when a card representing a tab group is clicked in grid tab switcher. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group.">
{NUMBER_OF_TABS, plural,
=1 {Expand <ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph> tab group with <ph name="TABS_COUNT_ONE">%2$d<ex>1</ex></ph> tab.}
other {Expand <ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph> tab group with <ph name="TABS_COUNT_MANY">%2$d<ex>2</ex></ph> tabs.}
}
</message>
<message name="IDS_ACCESSIBILITY_DIALOG_BACK_BUTTON" desc="The accessibility text to read when the back button in the dialog is focused. When this button is tapped, the dialog will be hidden. NUMBER_OF_TABS is the number of tabs within this group. Note that after collapsing with one tab, that group becomes a tab.">
{TABS_COUNT, plural,
=1 {Collapse <ph name="TABS_COUNT_ONE">%1$d<ex>1</ex></ph> tab.}
other {Collapse tab group with <ph name="TABS_COUNT_MANY">%1$d<ex>2</ex></ph> tabs.}
}
</message>
<message name="IDS_ACCESSIBILITY_DIALOG_BACK_BUTTON_WITH_GROUP_NAME" desc="The accessibility text to read when the back button in the dialog is focused. When this button is tapped, the dialog will be hidden. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group. Note that after collapsing with one tab, that group becomes a tab.">
<message name="IDS_ACCESSIBILITY_DIALOG_BACK_BUTTON_WITH_GROUP_NAME" desc="The accessibility text to read when the back button in the dialog is focused. When this button is tapped, the dialog will be hidden. TITLE_OF_GROUP is the title of the group. NUMBER_OF_TABS is the number of tabs within this group.">
{TABS_COUNT, plural,
=1 {Collapse <ph name="TABS_COUNT_ONE">%1$d<ex>1</ex></ph> tab.}
=1 {Collapse <ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph> tab group with <ph name="TABS_COUNT_ONE">%2$d<ex>1</ex></ph> tab.}
other {Collapse <ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph> tab group with <ph name="TABS_COUNT_MANY">%2$d<ex>2</ex></ph> tabs.}
}
</message>
Expand Down Expand Up @@ -637,6 +655,45 @@
<message name="IDS_ACCESSIBILITY_TAB_GROUPS" desc="Content description for the button to show tab groups UI.">
Tab groups
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_NOW" desc="A subtitle on a row for a tab group. Explains the group was created less than a minute ago.">
Created just now
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_MINUTES" desc="A subtitle on a row for a tab group. Explains how many minutes ago the group was created.">
{NUM_MINS, plural,
=1 {Created <ph name="NUM_MINS_ONE">%d<ex>1</ex></ph> minute ago}
other {Created <ph name="NUM_MINS_MANY">%d<ex>2</ex></ph> minutes ago}
}
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_HOURS" desc="A subtitle on a row for a tab group. Explains how many hours ago the group was created.">
{NUM_HOURS, plural,
=1 {Created <ph name="NUM_HOURS_ONE">%d<ex>1</ex></ph> hour ago}
other {Created <ph name="NUM_HOURS_MANY">%d<ex>2</ex></ph> hours ago}
}
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_DAYS" desc="A subtitle on a row for a tab group. Explains how many days ago the group was created.">
{NUM_DAYS, plural,
=1 {Created <ph name="NUM_DAYS_ONE">%d<ex>1</ex></ph> day ago}
other {Created <ph name="NUM_DAYS_MANY">%d<ex>2</ex></ph> days ago}
}
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_WEEKS" desc="A subtitle on a row for a tab group. Explains how many weeks ago the group was created.">
{NUM_WEEKS, plural,
=1 {Created <ph name="NUM_WEEKS_ONE">%d<ex>1</ex></ph> week ago}
other {Created <ph name="NUM_WEEKS_MANY">%d<ex>2</ex></ph> weeks ago}
}
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_MONTHS" desc="A subtitle on a row for a tab group. Explains how many months ago the group was created.">
{NUM_MONTHS, plural,
=1 {Created <ph name="NUM_MONTHS_ONE">%d<ex>1</ex></ph> month ago}
other {Created <ph name="NUM_MONTHS_MANY">%d<ex>2</ex></ph> months ago}
}
</message>
<message name="IDS_TAB_GROUPS_CREATED_AGO_YEARS" desc="A subtitle on a row for a tab group. Explains how many years ago the group was created.">
{NUM_MONTHS, plural,
=1 {Created <ph name="NUM_YEARS_ONE">%d<ex>1</ex></ph> year ago}
other {Created <ph name="NUM_YEARS_MANY">%d<ex>2</ex></ph> years ago}
}
</message>
</messages>
</release>
</grit>
1 change: 1 addition & 0 deletions android/java/apk_for_test.flags
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
*** mTabCreatorManager;
*** mSnackbarManager;
*** mTabObscuringHandler;
*** mReadAloudControllerSupplier;
*** onOrientationChange(...);
*** updateBookmarkButtonStatus(...);
*** updateReloadState(...);
Expand Down
3 changes: 2 additions & 1 deletion android/java/org/chromium/chrome/browser/BraveHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.chromium.base.ContextUtils;
import org.chromium.chrome.browser.preferences.BravePrefServiceBridge;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.chrome.browser.profiles.ProfileManager;
import org.chromium.components.browser_ui.site_settings.WebsitePreferenceBridge;
import org.chromium.components.content_settings.ContentSettingValues;
import org.chromium.components.content_settings.ContentSettingsType;
Expand All @@ -29,7 +30,7 @@ public static void DisableFREDRP() {
public static void maybeMigrateSettings() {
// False is the default value, so we want to migrate it only when it's true.
if (BravePrefServiceBridge.getInstance().getDesktopModeEnabled()) {
Profile profile = Profile.getLastUsedRegularProfile();
Profile profile = ProfileManager.getLastUsedRegularProfile();
WebsitePreferenceBridge.setDefaultContentSetting(
profile, ContentSettingsType.REQUEST_DESKTOP_SITE, ContentSettingValues.ALLOW);
// Reset old flag to default value, so we don't migrate it anymore.
Expand Down
19 changes: 10 additions & 9 deletions android/java/org/chromium/chrome/browser/BraveIntentHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.chromium.base.IntentUtils;
import org.chromium.base.Log;
import org.chromium.base.ThreadUtils;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.chrome.browser.profiles.ProfileManager;
import org.chromium.chrome.browser.search_engines.TemplateUrlServiceFactory;
import org.chromium.content_public.browser.BrowserStartupController;

Expand Down Expand Up @@ -65,14 +65,15 @@ protected static String getWebSearchUrl(Intent intent) {
}

try {
return ThreadUtils.runOnUiThreadBlocking(new Callable<String>() {
@Override
public String call() {
return TemplateUrlServiceFactory
.getForProfile(Profile.getLastUsedRegularProfile())
.getUrlForSearchQuery(query);
}
});
return ThreadUtils.runOnUiThreadBlocking(
new Callable<String>() {
@Override
public String call() {
return TemplateUrlServiceFactory.getForProfile(
ProfileManager.getLastUsedRegularProfile())
.getUrlForSearchQuery(query);
}
});
} catch (ExecutionException e) {
Log.e(TAG, "Could not retrieve search query: " + e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.chromium.chrome.browser.customtabs.CustomTabActivity;
import org.chromium.chrome.browser.preferences.ChromeSharedPreferences;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.chrome.browser.profiles.ProfileManager;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.components.browser_ui.widget.RoundedIconGenerator;
import org.chromium.components.favicon.IconType;
Expand Down Expand Up @@ -235,7 +236,7 @@ public interface LargeIconReadyCallback {
public BraveRewardsHelper(Tab tab) {
mTab = tab;
assert mTab != null;
mProfile = Profile.getLastUsedRegularProfile();
mProfile = ProfileManager.getLastUsedRegularProfile();
if (sLargeIconBridge == null && mTab != null && mProfile != null) {
sLargeIconBridge = new LargeIconBridge(mProfile);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.chromium.base.ContextUtils;
import org.chromium.base.Log;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.profiles.Profile;
import org.chromium.chrome.browser.profiles.ProfileManager;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -145,7 +145,7 @@ public void onStopTrackingTouch(Slider slider) {
adsValue));
}
if (BraveAdsNativeHelper.nativeIsOptedInToNotificationAds(
Profile.getLastUsedRegularProfile())) {
ProfileManager.getLastUsedRegularProfile())) {
BraveRewardsNativeWorker.getInstance()
.setAdsPerHour((int) slider.getValue());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */

package org.chromium.components.browser_ui.accessibility;
package org.chromium.chrome.browser.accessibility.settings;

import android.os.Bundle;

Expand Down
Loading
Loading