summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_error_handler.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary NULL checks of RenderFrameHost before calling ↵jam@chromium.org2014-01-221-2/+1
| | | | | | | | | | | WebContents::FromRenderFrameHost. BUG=304341 R=nasko@chromium.org Review URL: https://codereview.chromium.org/134503005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246334 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in ↵jam@chromium.org2013-12-311-7/+7
| | | | | | | | | | | | | | 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-7/+7
| | | | | | | | | | | | | | | | 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-7/+7
| | | | | | | | | | | 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
* Move navigation and frame tree classes to a new frame_host/ directory.nasko@chromium.org2013-10-301-1/+1
| | | | | | | | | | This CL moves all frame tree classes, Navigation* and its dependencies from web_contents/ to a separate frame_host/ directory. BUG=304341 Review URL: https://codereview.chromium.org/49823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231921 0039d316-1c4b-4281-b951-d872f2087c98
* Update content/ to use WeakPtr<T>::get() instead of implicit "operator T*"akalin@chromium.org2013-06-031-3/+3
| | | | | | | | | BUG=245942 R=avi@chromium.org Review URL: https://codereview.chromium.org/16256018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203775 0039d316-1c4b-4281-b951-d872f2087c98
* content/browser: Move ssl code into the content namespace.tfarina@chromium.org2012-10-241-5/+5
| | | | | | | | 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
* Move a bunch more code into the content namespace.jam@chromium.org2012-10-231-0/+1
| | | | | | Review URL: https://codereview.chromium.org/11231077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163632 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-3/+5
| | | | | | | | | | | | | | | | | | 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
* TabContents -> WebContentsImpl, part 7.avi@chromium.org2012-04-111-1/+1
| | | | | | | | | | | | Move the WebContentsImpl class to files in web_contents. BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/10054012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131845 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 3.avi@chromium.org2012-04-101-1/+1
| | | | | | | | | | BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/9960071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131634 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out ResourceDispatcherHost dependent code around SSLManagertoyoshim@chromium.org2012-03-131-37/+20
| | | | | | | | | | | 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-7/+7
| | | | | | | | 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
* Add ResourceRequestInfo.darin@chromium.org2012-03-071-7/+6
| | | | | | | | | | | | | | | | ResourceRequestInfo exposes the members of ResourceDispatcherHostRequestInfo required by src/chrome. ResourceDispatcherHostRequestInfo remains for use by src/content (maybe it should have a different name), and ResourceDispatcherHostRequestInfo subclasses ResourceRequestInfo. ResourceDispatcherHost::RenderViewForRequest is removed in favor of ResourceRequestInfo::GetAssociatedRenderView(). src/chrome uses ResourceRequestInfo::ForRequest(URLRequest*) instead of ResourceDispatcherHost::InfoForRequest. Deletes DummyResourceHandler in favor of just having ~ResourceDispatcherHostRequestInfo null-test its ResourceHandler. R=jam@chromium.org TBR=mirandac@chromium.org,ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9580002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125457 0039d316-1c4b-4281-b951-d872f2087c98
* Move Render(View|Widget)Host and associated classes to content namespace.joi@chromium.org2012-03-071-0/+1
| | | | | | | | | TBR=jam@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9600036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125388 0039d316-1c4b-4281-b951-d872f2087c98
* Move Render(Widget|View)HostImpl to files with _impl in filename.joi@chromium.org2012-03-061-1/+1
| | | | | | | | | TBR=jam@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9600021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125167 0039d316-1c4b-4281-b951-d872f2087c98
* Extract minimal RenderViewHost interface for embedders, leavingjoi@chromium.org2012-03-051-3/+3
| | | | | | | | | | | | RenderViewHostImpl for content. TBR=darin@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/9473001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124941 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ExpiredCertAndGoBackTests.vandebo@chromium.org2012-02-281-2/+2
| | | | | | | | | | | According to Darin, it doesn't make sense to call CancelRequest if it's not pending. Checking is_pending before calling CancelRequest fixes the flakiness (passed on 1,000 tries) BUG=40932 TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9453028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123834 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ssl_manager.h dependency from chrome.jam@chromium.org2012-02-131-1/+3
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9382042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121704 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ssl_cert_error_handler.h dependency from Chrome.jam@chromium.org2012-02-131-3/+3
| | | | | | | 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
* Get rid of RenderViewHostDelegate::GetAsTabContents.jam@chromium.org2012-01-241-4/+5
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9129026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118896 0039d316-1c4b-4281-b951-d872f2087c98
* Rename NavigationController to NavigationControllerImpl. I'll get rid of ↵jam@chromium.org2012-01-041-1/+1
| | | | | | | | | | content::NavigationController in a separate change. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9091002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116288 0039d316-1c4b-4281-b951-d872f2087c98
* Create a Content API interface around NavigationController, and move all the ↵jam@chromium.org2011-12-291-1/+1
| | | | | | | | | | methods used by chrome code to it. BUG=98716 TBR=brettw Review URL: http://codereview.chromium.org/8989071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115946 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 115346. The change didn't break anything, the test was faulty. Will ↵jam@chromium.org2011-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | disable in a followup. - Revert r115276, it broke PanelDownloadTest.Download in interactive_ui_tests on win,linux,mac. Original change: Rename TabContents::controller() to GetController and put it into the WebContents namespace. BUG=98716 TBR=dpranke Review URL: http://codereview.chromium.org/8956050 TBR=jam Review URL: http://codereview.chromium.org/9018016 TBR=thakis@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r115276, it broke PanelDownloadTest.Download in interactive_ui_teststhakis@chromium.org2011-12-211-1/+1
| | | | | | | | | | | | | | | | on win,linux,mac. Original change: Rename TabContents::controller() to GetController and put it into the WebContents namespace. BUG=98716 TBR=dpranke Review URL: http://codereview.chromium.org/8956050 TBR=jam Review URL: http://codereview.chromium.org/9018016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115346 0039d316-1c4b-4281-b951-d872f2087c98
* Rename TabContents::controller() to GetController and put it into the ↵jam@chromium.org2011-12-211-1/+1
| | | | | | | | | | WebContents namespace. BUG=98716 TBR=dpranke Review URL: http://codereview.chromium.org/8956050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115276 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserThread to content namespace.joi@chromium.org2011-11-021-0/+2
| | | | | | | | | TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserThread into public API and private implementation, step 1.joi@chromium.org2011-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Only content/ now has the ability to create BrowserThread objects, with the exception that tests can create the content::TestBrowserThread subclass, and (temporarily) code in chrome/ can create the DeprecatedBrowserThread subclass. A follow-up change will make content/ take care of its own thread creation, remove DeprecatedBrowserThread, and move all state and non-trivial constructors from BrowserThread down to BrowserThreadImpl. Also moved BrowserProcessSubThread into content/ namespace. As part of follow-up cleanup, chrome/ will stop using this class. BUG=98716 TEST=existing Review URL: http://codereview.chromium.org/8392042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107718 0039d316-1c4b-4281-b951-d872f2087c98
* Use new callbacks for SSL UI.mattm@chromium.org2011-09-301-7/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8080010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103555 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the remaining Chrome SSL dependencies from content.jam@chromium.org2011-06-061-7/+8
| | | | | | | 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/+185
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