diff options
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch')
| -rw-r--r-- | www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch b/www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch index 4e834c7..17b383f 100644 --- a/www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch +++ b/www/chromium-uc/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Fix building without one click signin | 1 | # Fix building without one click signin |
| 2 | 2 | ||
| 3 | --- a/chrome/browser/ui/sync/one_click_signin_links_delegate_impl.cc | 3 | --- chrome/browser/ui/sync/one_click_signin_links_delegate_impl.cc.orig |
| 4 | +++ b/chrome/browser/ui/sync/one_click_signin_links_delegate_impl.cc | 4 | +++ chrome/browser/ui/sync/one_click_signin_links_delegate_impl.cc |
| 5 | @@ -16,9 +16,4 @@ OneClickSigninLinksDelegateImpl::OneClic | 5 | @@ -16,9 +16,4 @@ OneClickSigninLinksDelegateImpl::OneClic |
| 6 | OneClickSigninLinksDelegateImpl::~OneClickSigninLinksDelegateImpl() {} | 6 | OneClickSigninLinksDelegateImpl::~OneClickSigninLinksDelegateImpl() {} |
| 7 | 7 | ||
| @@ -12,17 +12,17 @@ | |||
| 12 | - : WindowOpenDisposition::NEW_FOREGROUND_TAB; | 12 | - : WindowOpenDisposition::NEW_FOREGROUND_TAB; |
| 13 | - Navigate(¶ms); | 13 | - Navigate(¶ms); |
| 14 | } | 14 | } |
| 15 | --- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc | 15 | --- chrome/browser/ui/webui/signin/inline_login_handler_impl.cc.orig |
| 16 | +++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc | 16 | +++ chrome/browser/ui/webui/signin/inline_login_handler_impl.cc |
| 17 | @@ -342,6 +342,7 @@ void InlineSigninHelper::OnClientOAuthSu | 17 | @@ -360,6 +360,7 @@ void InlineSigninHelper::OnClientOAuthSu |
| 18 | void InlineSigninHelper::OnClientOAuthSuccessAndBrowserOpened( | ||
| 19 | const ClientOAuthResult& result, | 18 | const ClientOAuthResult& result, |
| 20 | Profile* /*profile*/) { | 19 | Profile* /*profile*/, |
| 20 | Profile::CreateStatus /*status*/) { | ||
| 21 | +#if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) | 21 | +#if BUILDFLAG(ENABLE_ONE_CLICK_SIGNIN) |
| 22 | HandlerSigninReason reason = GetHandlerSigninReason(current_url_); | 22 | HandlerSigninReason reason = GetHandlerSigninReason(current_url_); |
| 23 | if (reason == HandlerSigninReason::kFetchLstOnly) { | 23 | if (reason == HandlerSigninReason::kFetchLstOnly) { |
| 24 | // Constants are only available on Windows for the Google Credential | 24 | // Constants are only available on Windows for the Google Credential |
| 25 | @@ -418,6 +419,7 @@ void InlineSigninHelper::OnClientOAuthSu | 25 | @@ -436,6 +437,7 @@ void InlineSigninHelper::OnClientOAuthSu |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); | 28 | base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
