Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Issue 766463002: Revert of Remove SSLClientAuthHandler's RDH dependency. (Closed)

Created:
6 years ago by robliao
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove SSLClientAuthHandler's RDH dependency. (patchset #8 id:140001 of https://codereview.chromium.org/596873002/) Reason for revert: Leak in SSLUITestWithClientCert.TestWSSClientCert http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/4654/steps/browser_tests/logs/TestWSSClientCert First reported leak: Indirect leak of 104 byte(s) in 1 object(s) allocated from: #0 0x57659b in operator new(unsigned long) (/tmp/run_tha_test0QXqvt/out/Release/browser_tests+0x57659b) #1 0x2c7762d in ProfileIOData::ResourceContext::CreateClientCertStore() chrome/browser/profiles/profile_io_data.cc:920:7 #2 0x6c908bd in content::ResourceLoader::OnCertificateRequested(net::URLRequest*, net::SSLCertRequestInfo*) content/browser/loader/resource_loader.cc:298:7 #3 0x3e3e15f in net::URLRequest::NotifyCertificateRequested(net::SSLCertRequestInfo*) net/url_request/url_request.cc:1109:5 #4 0x405ea0d in net::URLRequestHttpJob::OnStartCompleted(int) net/url_request/url_request_http_job.cc:925:5 #5 0x3ccd86c in Run base/callback.h:396:12 #6 0x3ccd86c in net::HttpCache::Transaction::DoCallback(int) net/http/http_cache_transaction.cc:710 #7 0x3cca160 in HandleResult net/http/http_cache_transaction.cc:716:5 #8 0x3cca160 in net::HttpCache::Transaction::DoLoop(int) net/http/http_cache_transaction.cc:977 #9 0x3cc7a68 in net::HttpCache::Transaction::OnIOComplete(int) net/http/http_cache_transaction.cc:2934:3 #10 0xc78765a in Run base/callback.h:396:12 #11 0xc78765a in DevToolsNetworkTransaction::OnCallback(int) chrome/browser/devtools/devtools_network_transaction.cc:73 #12 0x3ceab0c in Run base/callback.h:396:12 #13 0x3ceab0c in DoCallback net/http/http_network_transaction.cc:577 #14 0x3ceab0c in net::HttpNetworkTransaction::OnIOComplete(int) net/http/http_network_transaction.cc:594 #15 0x394b58f in Run base/callback.h:396:12 #16 0x394b58f in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) base/debug/task_annotator.cc:63 #17 0x388dd3c in base::MessageLoop::RunTask(base::PendingTask const&) base/message_loop/message_loop.cc:448:3 #18 0x388e49b in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) base/message_loop/message_loop.cc:458:5 #19 0x388ef57 in base::MessageLoop::DoWork() base/message_loop/message_loop.cc:567:13 #20 0x3932db7 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:232:21 #21 0x38c0c1c in base::RunLoop::Run() base/run_loop.cc:55:3 #22 0x388c843 in base::MessageLoop::Run() base/message_loop/message_loop.cc:310:3 #23 0x6af33c1 in content::BrowserThreadImpl::IOThreadRun(base::MessageLoop*) content/browser/browser_thread_impl.cc:218:3 #24 0x6af375e in content::BrowserThreadImpl::Run(base::MessageLoop*) content/browser/browser_thread_impl.cc:253:14 #25 0x390cec1 in base::Thread::ThreadMain() base/threading/thread.cc:228:5 #26 0x3901e17 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:80:3 #27 0x7f99b0016e99 in start_thread /build/buildd/eglibc-2.15/nptl/pthread_create.c:308 Original issue's description: > Remove SSLClientAuthHandler's RDH dependency. > > Instead, give it a callback to select the client certificate. This removes a > dependency on GlobalRequestID. Also stop reference-counting it and avoid > passing an HttpNetworkSession to the UI thread. (Use BrowserContext instead.) > > BUG=376003 > > Committed: https://crrev.com/99aee5eb0f6733566c60dfe356a1b7169477808f > Cr-Commit-Position: refs/heads/master@{#298782} TBR=mmenke@chromium.org,abarth@chromium.org,jam@chromium.org,benm@chromium.org,davidben@chromium.org NOTREECHECKS=true NOTRY=true BUG=376003

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -130 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_observer.h View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_observer.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_requestor_mock.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_requestor_mock.cc View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_client_certificate_selector.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/ssl_client_certificate_request.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm View 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/loader/resource_loader.h View 4 chunks +2 lines, -6 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.h View 1 chunk +40 lines, -18 lines 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.cc View 2 chunks +60 lines, -51 lines 0 comments Download
M content/public/browser/content_browser_client.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
robliao
Created Revert of Remove SSLClientAuthHandler's RDH dependency.
6 years ago (2014-11-26 17:51:39 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766463002/1
6 years ago (2014-11-26 17:52:41 UTC) #3
commit-bot: I haz the power
Failed to apply patch for content/browser/ssl/ssl_client_auth_handler.cc: While running git apply --index -3 -p1; error: patch ...
6 years ago (2014-11-26 17:53:31 UTC) #5
mmenke
Are you sure about this revert? That CL was landed over a month ago.
6 years ago (2014-11-26 17:55:01 UTC) #7
robliao
On 2014/11/26 17:55:01, mmenke wrote: > Are you sure about this revert? That CL was ...
6 years ago (2014-11-26 17:57:34 UTC) #8
robliao
6 years ago (2014-11-26 17:58:33 UTC) #9
Message was sent while issue was closed.
On 2014/11/26 17:57:34, robliao wrote:
> On 2014/11/26 17:55:01, mmenke wrote:
> > Are you sure about this revert?  That CL was landed over a month ago.
> 
> My mistake, I needed to apply a revert of this revert.
> https://codereview.chromium.org/755933002

Closing.

Powered by Google App Engine
This is Rietveld 408576698