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

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

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/site_instance_impl_unittest.cc ('k') | content/browser/ssl/ssl_manager.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/ssl/ssl_error_handler.h" 5 #include "content/browser/ssl/ssl_error_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/renderer_host/render_view_host_impl.h" 8 #include "content/browser/renderer_host/render_view_host_impl.h"
9 #include "content/browser/ssl/ssl_cert_error_handler.h" 9 #include "content/browser/ssl/ssl_cert_error_handler.h"
10 #include "content/browser/web_contents/navigation_controller_impl.h" 10 #include "content/browser/web_contents/navigation_controller_impl.h"
11 #include "content/browser/web_contents/web_contents_impl.h" 11 #include "content/browser/web_contents/web_contents_impl.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/resource_request_info.h" 13 #include "content/public/browser/resource_request_info.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
16 16
17 using content::BrowserThread; 17 using content::BrowserThread;
18 using content::NavigationControllerImpl;
18 using content::RenderViewHostImpl; 19 using content::RenderViewHostImpl;
19 using content::WebContents; 20 using content::WebContents;
20 using net::SSLInfo; 21 using net::SSLInfo;
21 22
22 SSLErrorHandler::SSLErrorHandler(const base::WeakPtr<Delegate>& delegate, 23 SSLErrorHandler::SSLErrorHandler(const base::WeakPtr<Delegate>& delegate,
23 const content::GlobalRequestID& id, 24 const content::GlobalRequestID& id,
24 ResourceType::Type resource_type, 25 ResourceType::Type resource_type,
25 const GURL& url, 26 const GURL& url,
26 int render_process_id, 27 int render_process_id,
27 int render_view_id) 28 int render_view_id)
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // already have been deleted. 169 // already have been deleted.
169 DCHECK(!request_has_been_notified_); 170 DCHECK(!request_has_been_notified_);
170 if (request_has_been_notified_) 171 if (request_has_been_notified_)
171 return; 172 return;
172 173
173 request_has_been_notified_ = true; 174 request_has_been_notified_ = true;
174 175
175 // We're done with this object on the IO thread. 176 // We're done with this object on the IO thread.
176 Release(); 177 Release();
177 } 178 }
OLDNEW
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698