Patches for 138.0.7204.50
This commit is contained in:
@@ -574,7 +574,7 @@ diff --git a/chrome/browser/profiles/android/profile_manager_utils.cc b/chrome/b
|
||||
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
||||
--- a/chrome/browser/profiles/profile_manager.cc
|
||||
+++ b/chrome/browser/profiles/profile_manager.cc
|
||||
@@ -1441,6 +1441,19 @@ void ProfileManager::DoFinalInit(ProfileInfo* profile_info,
|
||||
@@ -1446,6 +1446,19 @@ void ProfileManager::DoFinalInit(ProfileInfo* profile_info,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -594,7 +594,7 @@ diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profile
|
||||
void ProfileManager::DoFinalInitForServices(Profile* profile,
|
||||
bool go_off_the_record) {
|
||||
if (!do_final_services_init_ ||
|
||||
@@ -2117,7 +2130,7 @@ void ProfileManager::OnBrowserClosed(Browser* browser) {
|
||||
@@ -2122,7 +2135,7 @@ void ProfileManager::OnBrowserClosed(Browser* browser) {
|
||||
Profile* original_profile = profile->GetOriginalProfile();
|
||||
// Do nothing if the closed window is not the last window of the same profile.
|
||||
for (Browser* browser_iter : *BrowserList::GetInstance()) {
|
||||
|
||||
@@ -2646,7 +2646,7 @@ new file mode 100644
|
||||
diff --git a/tools/metrics/histograms/enums.xml b/tools/metrics/histograms/enums.xml
|
||||
--- a/tools/metrics/histograms/enums.xml
|
||||
+++ b/tools/metrics/histograms/enums.xml
|
||||
@@ -14410,6 +14410,7 @@ from previous Chrome versions.
|
||||
@@ -14417,6 +14417,7 @@ from previous Chrome versions.
|
||||
<int value="188610022" label="NewMessageListView:enabled"/>
|
||||
<int value="189728101" label="FasterLocationReload:disabled"/>
|
||||
<int value="189777537" label="DisableInitialMostVisitedFadeIn:enabled"/>
|
||||
|
||||
@@ -111,7 +111,7 @@ diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/p
|
||||
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
||||
--- a/chrome/browser/profiles/profile_manager.cc
|
||||
+++ b/chrome/browser/profiles/profile_manager.cc
|
||||
@@ -1191,10 +1191,6 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) {
|
||||
@@ -1192,10 +1192,6 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) {
|
||||
profile->GetPrefs()->SetString(prefs::kProfileName, profile_name);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profile
|
||||
#if !BUILDFLAG(IS_ANDROID)
|
||||
if (profile->IsNewProfile()) {
|
||||
profile->GetPrefs()->SetBoolean(prefs::kHasSeenWelcomePage, false);
|
||||
@@ -1973,9 +1969,6 @@ void ProfileManager::AddProfileToStorage(Profile* profile) {
|
||||
@@ -1978,9 +1974,6 @@ void ProfileManager::AddProfileToStorage(Profile* profile) {
|
||||
init_params.icon_index =
|
||||
profile->GetPrefs()->GetInteger(prefs::kProfileAvatarIndex);
|
||||
|
||||
|
||||
@@ -413,7 +413,7 @@ diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
||||
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
||||
--- a/chrome/browser/profiles/profile_manager.cc
|
||||
+++ b/chrome/browser/profiles/profile_manager.cc
|
||||
@@ -122,6 +122,10 @@
|
||||
@@ -123,6 +123,10 @@
|
||||
#include "extensions/common/manifest.h"
|
||||
#endif
|
||||
|
||||
@@ -424,7 +424,7 @@ diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profile
|
||||
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
|
||||
#include "chrome/browser/sessions/app_session_service_factory.h"
|
||||
#include "chrome/browser/sessions/session_service_factory.h"
|
||||
@@ -1491,6 +1495,13 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
|
||||
@@ -1496,6 +1500,13 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
|
||||
// initializing the supervised flag if necessary).
|
||||
ChildAccountServiceFactory::GetForProfile(profile)->Init();
|
||||
ListFamilyMembersServiceFactory::GetForProfile(profile)->Init();
|
||||
|
||||
@@ -120,7 +120,7 @@ diff --git a/third_party/blink/renderer/core/fetch/fetch_manager.cc b/third_part
|
||||
void ResponseResolver::RejectBecauseFailed(
|
||||
std::optional<String> devtools_request_id,
|
||||
std::optional<base::UnguessableToken> issue_id,
|
||||
@@ -1294,10 +1301,20 @@ void FetchManager::Loader::Failed(
|
||||
@@ -1301,10 +1308,20 @@ void FetchManager::Loader::Failed(
|
||||
if (response_resolver_) {
|
||||
ScriptState::Scope scope(GetScriptState());
|
||||
if (dom_exception) {
|
||||
|
||||
@@ -1372,7 +1372,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
@@ -177,7 +180,12 @@ public class NewTabPageLayout extends LinearLayout
|
||||
@@ -179,7 +182,12 @@ public class NewTabPageLayout extends LinearLayout
|
||||
mFakeSearchBoxLayout = findViewById(R.id.search_box);
|
||||
mFakeSearchBoxEditText = findViewById(R.id.search_box_text);
|
||||
insertSiteSectionView();
|
||||
|
||||
@@ -567,15 +567,15 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
||||
private boolean mSearchProviderIsGoogle;
|
||||
private boolean mShowingNonStandardGoogleLogo;
|
||||
|
||||
@@ -267,6 +271,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
initializeLogoCoordinator(searchProviderHasLogo, searchProviderIsGoogle);
|
||||
@@ -256,6 +260,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
initializeMostVisitedTilesCoordinator(
|
||||
mProfile, lifecycleDispatcher, tileGroupDelegate, touchEnabledDelegate);
|
||||
initializeDseIconView(searchProviderIsGoogle);
|
||||
+ initializeShortcuts();
|
||||
initializeSearchBoxTextView();
|
||||
initializeVoiceSearchButton();
|
||||
initializeLensButton();
|
||||
@@ -529,7 +534,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
@@ -553,7 +558,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
|
||||
if (mInitialTileNum == null) {
|
||||
mInitialTileNum =
|
||||
@@ -584,7 +584,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
||||
}
|
||||
|
||||
int currentOrientation = getResources().getConfiguration().orientation;
|
||||
@@ -597,7 +602,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
@@ -621,7 +626,7 @@ public class NewTabPageLayout extends LinearLayout
|
||||
&& mInitialized) {
|
||||
return;
|
||||
}
|
||||
@@ -593,7 +593,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageL
|
||||
mSearchProviderIsGoogle = isGoogle;
|
||||
|
||||
if (!mSearchProviderIsGoogle) {
|
||||
@@ -921,6 +926,22 @@ public class NewTabPageLayout extends LinearLayout
|
||||
@@ -948,6 +953,22 @@ public class NewTabPageLayout extends LinearLayout
|
||||
return mMostVisitedTilesCoordinator;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user