Skip to content

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

Merged
merged 8 commits into from
Sep 9, 2018
Merged

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Sep 4, 2018

Fix brave/brave-browser#952
Fix brave/brave-browser#979

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.
  • Add appropriate QA labels (QA/Needed or QA/No-QA-Needed) to include the closed issue in milestone

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

@bbondy bbondy self-assigned this Sep 4, 2018
@bbondy bbondy requested a review from bridiver September 4, 2018 20:44
@@ -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
Copy link
Member Author

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.

Copy link
Collaborator

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>());
Copy link
Collaborator

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"
Copy link
Collaborator

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>());
Copy link
Collaborator

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",
Copy link
Collaborator

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() {}
Copy link
Collaborator

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(
Copy link
Collaborator

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?

Copy link
Member Author

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(
Copy link
Collaborator

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

Copy link
Member Author

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,
Copy link
Collaborator

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

bridiver
bridiver previously approved these changes Sep 4, 2018
@bbondy bbondy force-pushed the 70.0.3538.6 branch 11 times, most recently from 69dc17d to 92f3140 Compare September 5, 2018 20:18
@bbondy bbondy changed the title Upgrade from Chromium 70.0.3528.4 to 70.0.3538.6 Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 Sep 6, 2018
@bbondy bbondy changed the title Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 WIP: Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 Sep 8, 2018
@bbondy bbondy force-pushed the 70.0.3538.6 branch 2 times, most recently from 2f2e505 to 4b645d7 Compare September 9, 2018 15:03
@bbondy bbondy changed the title WIP: Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10 Sep 9, 2018
@bbondy bbondy merged commit bd7bc1f into master Sep 9, 2018
bbondy added a commit that referenced this pull request Sep 9, 2018
Upgrade from Chromium 70.0.3528.4 to 70.0.3538.10
@bbondy bbondy added the 0.55.x label Sep 9, 2018
@bbondy
Copy link
Member Author

bbondy commented Sep 9, 2018

0.55.x 2bd1171

@bsclifton bsclifton deleted the 70.0.3538.6 branch September 26, 2018 05:44
@bbondy bbondy added this to the 0.55.x - Release milestone Jan 14, 2019
fmarier pushed a commit that referenced this pull request Oct 29, 2019
Overwrite chrome/app/theme/chromium resources with ours
petemill pushed a commit that referenced this pull request Jul 27, 2020
Overwrite chrome/app/theme/chromium resources with ours
petemill pushed a commit that referenced this pull request Jul 28, 2020
Overwrite chrome/app/theme/chromium resources with ours
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Folders in bookmarks toolbar are almost invisible Upgrade from Chromium 70.0.3528.4 to 70.0.3538.12
3 participants