summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_error_handler.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in ↵jam@chromium.org2013-12-311-3/+3
| | | | | | | | | | | | | | ResourceLoader and SSLClientAuthHandler. BUG=304341 R=nasko@chromium.org TBR=mkosiba Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242656 Review URL: https://codereview.chromium.org/120413003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242759 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Replace the GetAssociatedRenderView call with ↵loislo@chromium.org2013-12-301-3/+3
| | | | | | | | | | | | | | | | GetAssociatedRenderFrame in ResourceLoader and SSLClientAuthHandler." This reverts commit 6952f00643ee2d1a58177dd90f35e3542690cc87. Gardening. This patch breaks 33 layout tests http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=fast/encoding/mailto-always-utf-8.html,fast/forms/mailto/advanced-get.html,fast/forms/mailto/advanced-put.html,fast/forms/mailto/formenctype-attribute-button-html.html,fast/forms/mailto/formenctype-attribute-input-2.html,fast/forms/mailto/formenctype-attribute-input-html.html,fast/forms/mailto/get-multiple-items-text-plain.html,fast/forms/mailto/get-multiple-items-x-www-form-urlencoded.html,fast/forms/mailto/get-multiple-items.html,fast/forms/mailto/get-non-ascii-always-utf-8.html,fast/forms/mailto/get-non-ascii-text-plain-latin-1.html,fast/forms/mailto/get-non-ascii-text-plain.html,fast/forms/mailto/get-non-ascii.html,fast/forms/mailto/get-overwrite-query.html,fast/forms/mailto/post-append-query.html,fast/forms/mailto/post-multiple-items-multipart-form-data.html,fast/forms/mailto/post-multiple-items-text-plain.html,fast/forms/mailto/post-multiple-items-x-www-form-urlencoded.html,fast/forms/mailto/post-multiple-items.html,fast/forms/mailto/post-text-plain-with-accept-charset.html,fast/forms/mailto/post-text-plain.html,fast/loader/onload-policy-ignore-for-frame.html,fast/loader/reload-policy-delegate.html,http/tests/download/basic-ascii.html,http/tests/download/default-encoding.html,http/tests/download/inherited-encoding-form-submission-result.html,http/tests/download/inherited-encoding.html,http/tests/download/literal-utf-8.html,http/tests/history/back-to-post.html,http/tests/media/media-source/mediasource-remove.html,http/tests/misc/policy-delegate-called-twice.html,http/tests/navigation/post-redirect-get-reload.php,http/tests/security/feed-urls-from-remote.html BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/101723004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242716 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in ↵jam@chromium.org2013-12-281-3/+3
| | | | | | | | | | | ResourceLoader and SSLClientAuthHandler. BUG=304341 R=nasko@chromium.org Review URL: https://codereview.chromium.org/120413003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242656 0039d316-1c4b-4281-b951-d872f2087c98
* reland crrev.com/212927 Move webkitplatformsupport_impl and related from ↵scottmg@chromium.org2013-07-231-1/+1
| | | | | | | | | | | | glue to child Win x64 warning suppression, and allocator dependency on linux for shared_library build compared to previous land. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/20003004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213033 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 212927 "Move webkitplatformsupport_impl and related from ..."bryeung@chromium.org2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Move webkitplatformsupport_impl and related from glue to child > > Picking up Ananta's change. > > Move the webkitplatformsupport_impl.cc/.h files out of webkit\glue to > webkit\child. > > This requires moving the following files out of webkit\glue to webkit\child: > 1. weburlloader_impl.cc/.h > 2. weburlrequest_extradata_impl.cc/.h > 3. websocketstreamhandle_impl.cc/.h > 4. weburlresponse_extradata_impl.cc/.h > 5. websocketstreamhandle_delegate.h > 6. ftp_directory_listing_response_delegate.cc/.h > 7. multipart_response_delegate.cc/.h > 8. multipart_response_delegate_unittest.cc > 9. resource_loader_bridge.cc/.h > > The following files have been moved to webkit\common: > 2. resource_type.cc/.h > > Move MemoryUsageKB out of webkit_glue.cc/h to webkit/child/webkit_child_helpers. > > I added an include rule to content\common\DEPS to allow including > webkit\child\websocketstreamhandle_delegate.h. This will be removed in a > followup. > > TBR=jam@chromium.org, jamesr@chromium.org, jschuh@chromium.org > > BUG=237249 > > Review URL: https://codereview.chromium.org/19673002 TBR=scottmg@chromium.org Review URL: https://codereview.chromium.org/19888003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212933 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkitplatformsupport_impl and related from glue to childscottmg@chromium.org2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Picking up Ananta's change. Move the webkitplatformsupport_impl.cc/.h files out of webkit\glue to webkit\child. This requires moving the following files out of webkit\glue to webkit\child: 1. weburlloader_impl.cc/.h 2. weburlrequest_extradata_impl.cc/.h 3. websocketstreamhandle_impl.cc/.h 4. weburlresponse_extradata_impl.cc/.h 5. websocketstreamhandle_delegate.h 6. ftp_directory_listing_response_delegate.cc/.h 7. multipart_response_delegate.cc/.h 8. multipart_response_delegate_unittest.cc 9. resource_loader_bridge.cc/.h The following files have been moved to webkit\common: 2. resource_type.cc/.h Move MemoryUsageKB out of webkit_glue.cc/h to webkit/child/webkit_child_helpers. I added an include rule to content\common\DEPS to allow including webkit\child\websocketstreamhandle_delegate.h. This will be removed in a followup. TBR=jam@chromium.org, jamesr@chromium.org, jschuh@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/19673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212927 0039d316-1c4b-4281-b951-d872f2087c98
* content: Migrate from googleurl/ includes to url/ ones.tfarina@chromium.org2013-07-091-1/+1
| | | | | | | | | BUG=229660 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/18868005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210626 0039d316-1c4b-4281-b951-d872f2087c98
* Move client certificates retrieval logic out of the SSL sockets.ppi@chromium.org2013-02-071-1/+1
| | | | | | | | | | | | | CL 11879048 introduces ClientCertStore API providing client certificate lookup/filtering logic currently being done at the SSL socket level. This patch removes this logic from the sockets, plugging the new API in the upper layers instead. BUG=170374 Review URL: https://chromiumcodereview.appspot.com/12035105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181104 0039d316-1c4b-4281-b951-d872f2087c98
* content/browser: Move ssl code into the content namespace.tfarina@chromium.org2012-10-241-11/+12
| | | | | | | | R=jam@chromium.org Review URL: https://codereview.chromium.org/11283004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163929 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from contentajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, delegate cleanuprsleevi@chromium.org2012-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | For Delegate/Observer-type classes that specify an interface but do not have any particular lifetime requirements, make their destructors protected. This is to allow their interfaces to be implemented safely by RefCounted types. With public destructors, it's possible to do "scoped_ptr<Delegate> foo", and then assign a RefCountedDelegateImpl, which would lead to a double free. As none of these Delegates actually need public destructors (ownership of the Delegate* is not transferred during a function call / class constructor), mark the destructors protected so that it becomes a compile warning to try to delete them via the Delegate*. BUG=123295 TEST=it compiles Review URL: https://chromiumcodereview.appspot.com/10383262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144086 0039d316-1c4b-4281-b951-d872f2087c98
* Inherits SupportsWeakPtr<T> instead of having WeakPtrFactory<T>toyoshim@chromium.org2012-05-311-1/+1
| | | | | | | | | | | | This change refines r137676. BUG=122654 TEST=browser_test Review URL: https://chromiumcodereview.appspot.com/10332233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139771 0039d316-1c4b-4281-b951-d872f2087c98
* Use WeakPtr for passing SSLErrorHandler::Delegate to SSLManager.toyoshim@chromium.org2012-05-171-2/+3
| | | | | | | | | | | | | | | | | | If user close the owner tab while SSLManager suspend a query, SocketStreamDispatcherHost will disappear because it is owned by a renderer host. Because WebSocket is a sub resource, its request will be suspended until other major type resources (e.g., main frame) issue the same query request. I Introduce WeakPtr to make sure that SSLCertErrorHandler can call delegate functions safely. BUG=122654 TEST=none Review URL: https://chromiumcodereview.appspot.com/10034017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137676 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out ResourceDispatcherHost dependent code around SSLManagertoyoshim@chromium.org2012-03-131-7/+29
| | | | | | | | | | | Because SSLManager must work with not only ResourceDispatcherHost. BUG=53836 TEST=existing tests will cover this refactoring Review URL: http://codereview.chromium.org/9406001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126310 0039d316-1c4b-4281-b951-d872f2087c98
* Add content/public/browser/resource_dispatcher_host.hdarin@chromium.org2012-03-121-5/+8
| | | | | | | | R=jam@chromium.org TBR=willchan@chromium.org,mirandac@chromium.org,ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9648020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126089 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ssl_cert_error_handler.h dependency from Chrome.jam@chromium.org2012-02-131-4/+4
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9380044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121702 0039d316-1c4b-4281-b951-d872f2087c98
* Move the PageNavigator interface and GlobalRequestID struct to ↵jam@chromium.org2011-12-281-2/+2
| | | | | | | | | | content\public and put them in the content namespace. Make PageNavigator use WebContents instead of TabContents. While I'm touching all the callers, I've removed the deprecated PageNavigator function and converted users to the new one. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8991012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115858 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded forward declarations in content/browser.thestig@chromium.org2011-11-101-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8499042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109363 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-1/+2
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the remaining Chrome SSL dependencies from content.jam@chromium.org2011-06-061-4/+3
| | | | | | | BUG=76697 Review URL: http://codereview.chromium.org/7058062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87998 0039d316-1c4b-4281-b951-d872f2087c98
* Move most of the core SSL code from chrome to content. The UI code that's ↵jam@chromium.org2011-06-031-0/+144
specific to Chrome (i.e. interstitial, dialogs) stays behind. This change just moves code, and so adds a bunch of files to DEPS. I'll add proper interfaces in a follow up cl, but keeping the move simple at first. BUG=76697 Review URL: http://codereview.chromium.org/7111013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87866 0039d316-1c4b-4281-b951-d872f2087c98