-
Notifications
You must be signed in to change notification settings - Fork 969
Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 #395
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
Conversation
@@ -1,22 +0,0 @@ | |||
diff --git a/services/network/tcp_connected_socket.cc b/services/network/tcp_connected_socket.cc | |||
index d8d6a1cd98c81268ab4fb597f682d71664317134..335859f434e3b7822ab483577a25a7da5586b8ec 100644 | |||
--- a/services/network/tcp_connected_socket.cc |
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.
Chromium upstream already has this code exactly now.
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.
yep, that's expected. cc @yrliou
ChromeExtensionsBrowserClient::ChromeExtensionsBrowserClient() { | ||
AddAPIProvider(std::make_unique<CoreExtensionsBrowserAPIProvider>()); | ||
AddAPIProvider(std::make_unique<ChromeExtensionsBrowserAPIProvider>()); | ||
+ AddAPIProvider(std::make_unique<BraveExtensionsBrowserAPIProvider>()); |
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.
we should probably follow-up with a chromium_src override and subclass ChromeExtensionsBrowserAPIProvider to get rid of this patch and possibly the dups
patch by merging and de-duping inside the provider
#include "base/task/task_traits.h" | ||
#include "base/threading/thread_restrictions.h" | ||
+#include "base/values.h" | ||
+#include "brave/common/importer/brave_importer_utils.h" |
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.
is this right? Did you move to chromium_src or are these no longer needed for COOKIES?
|
||
return api::GeneratedSchemas::Get(name); | ||
ChromeExtensionsClient::ChromeExtensionsClient() { | ||
+ AddAPIProvider(std::make_unique<BraveExtensionsAPIProvider>()); |
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.
same as above with provider subclass
"//brave/chromium_src:common", | ||
] | ||
|
||
public_deps = [ | ||
"extensions/api", |
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.
why a public dep now?
|
||
namespace extensions { | ||
|
||
BraveExtensionsAPIProvider::BraveExtensionsAPIProvider() {} |
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.
this is going to be really helpful for adding our own extension apis
@@ -41,8 +42,8 @@ void AddChromeToProfiles(std::vector<importer::SourceProfile>* profiles, | |||
} | |||
|
|||
void DetectChromeProfiles(std::vector<importer::SourceProfile>* profiles) { | |||
base::AssertBlockingAllowed(); | |||
|
|||
base::ScopedBlockingCall scoped_blocking_call( |
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.
unrelated to this update, is this running on the wrong thread?
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 think there's a counter issue to remove it.
@@ -146,7 +146,8 @@ bool HTTPSEverywhereService::GetHTTPSURL( | |||
const GURL* url, const uint64_t& request_identifier, | |||
std::string& new_url) { | |||
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); | |||
base::AssertBlockingAllowed(); | |||
base::ScopedBlockingCall scoped_blocking_call( |
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.
same thing here with the thread. Not a problem with this PR, but I didn't have to do this for rewards leveldb stuff
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.
because this is a change in the 70 upgrade. I'll have to do this when I rebase on top of rewards.
@@ -16,6 +16,13 @@ class BraveCrashpadClient { | |||
const std::string& url, | |||
const std::map<std::string, std::string>& annotations, | |||
const std::vector<std::string>& arguments); | |||
static bool StartHandlerForClient(const base::FilePath& handler, |
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.
cc @emerick to review this commit
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.
LGTM
69dc17d
to
92f3140
Compare
2f2e505
to
4b645d7
Compare
Otherwise the re-used bindings will use the wrong ones
Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10
0.55.x 2bd1171 |
Overwrite chrome/app/theme/chromium resources with ours
Overwrite chrome/app/theme/chromium resources with ours
Overwrite chrome/app/theme/chromium resources with ours
Fix brave/brave-browser#952
Fix brave/brave-browser#979
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: