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

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

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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_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/frame_host/navigation_controller_impl.h" 8 #include "content/browser/frame_host/navigation_controller_impl.h"
9 #include "content/browser/frame_host/render_frame_host_impl.h" 9 #include "content/browser/frame_host/render_frame_host_impl.h"
10 #include "content/browser/ssl/ssl_cert_error_handler.h" 10 #include "content/browser/ssl/ssl_cert_error_handler.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 net::SSLInfo; 17 using net::SSLInfo;
18 18
19 namespace content { 19 namespace content {
20 20
21 SSLErrorHandler::SSLErrorHandler(const base::WeakPtr<Delegate>& delegate, 21 SSLErrorHandler::SSLErrorHandler(const base::WeakPtr<Delegate>& delegate,
22 const GlobalRequestID& id, 22 const GlobalRequestID& id,
23 ResourceType::Type resource_type, 23 ResourceType resource_type,
24 const GURL& url, 24 const GURL& url,
25 int render_process_id, 25 int render_process_id,
26 int render_frame_id) 26 int render_frame_id)
27 : manager_(NULL), 27 : manager_(NULL),
28 request_id_(id), 28 request_id_(id),
29 delegate_(delegate), 29 delegate_(delegate),
30 render_process_id_(render_process_id), 30 render_process_id_(render_process_id),
31 render_frame_id_(render_frame_id), 31 render_frame_id_(render_frame_id),
32 request_url_(url), 32 request_url_(url),
33 resource_type_(resource_type), 33 resource_type_(resource_type),
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 if (request_has_been_notified_) 168 if (request_has_been_notified_)
169 return; 169 return;
170 170
171 request_has_been_notified_ = true; 171 request_has_been_notified_ = true;
172 172
173 // We're done with this object on the IO thread. 173 // We're done with this object on the IO thread.
174 Release(); 174 Release();
175 } 175 }
176 176
177 } // namespace content 177 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_error_handler.h ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698