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

Side by Side Diff: content/browser/ssl/ssl_error_handler.cc

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_error_handler.h ('k') | content/browser/ssl/ssl_host_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ssl/ssl_error_handler.h" 5 #include "content/browser/ssl/ssl_error_handler.h"
6 6
7 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
8 #include "chrome/browser/tab_contents/tab_util.h" 7 #include "chrome/browser/tab_contents/tab_util.h"
9 #include "content/browser/browser_thread.h" 8 #include "content/browser/browser_thread.h"
10 #include "content/browser/renderer_host/resource_dispatcher_host.h" 9 #include "content/browser/renderer_host/resource_dispatcher_host.h"
11 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
11 #include "content/browser/ssl/ssl_cert_error_handler.h"
12 #include "content/browser/tab_contents/tab_contents.h" 12 #include "content/browser/tab_contents/tab_contents.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
15 15
16 SSLErrorHandler::SSLErrorHandler(ResourceDispatcherHost* rdh, 16 SSLErrorHandler::SSLErrorHandler(ResourceDispatcherHost* rdh,
17 net::URLRequest* request, 17 net::URLRequest* request,
18 ResourceType::Type resource_type) 18 ResourceType::Type resource_type)
19 : manager_(NULL), 19 : manager_(NULL),
20 request_id_(0, 0), 20 request_id_(0, 0),
21 resource_dispatcher_host_(rdh), 21 resource_dispatcher_host_(rdh),
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // already have been deleted. 176 // already have been deleted.
177 DCHECK(!request_has_been_notified_); 177 DCHECK(!request_has_been_notified_);
178 if (request_has_been_notified_) 178 if (request_has_been_notified_)
179 return; 179 return;
180 180
181 request_has_been_notified_ = true; 181 request_has_been_notified_ = true;
182 182
183 // We're done with this object on the IO thread. 183 // We're done with this object on the IO thread.
184 Release(); 184 Release();
185 } 185 }
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_error_handler.h ('k') | content/browser/ssl/ssl_host_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698