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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
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/renderer_host/resource_dispatcher_host.h" 9 #include "content/browser/renderer_host/resource_dispatcher_host.h"
10 #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" 11 #include "content/browser/ssl/ssl_cert_error_handler.h"
12 #include "content/browser/tab_contents/navigation_controller_impl.h" 12 #include "content/browser/tab_contents/navigation_controller_impl.h"
13 #include "content/browser/tab_contents/tab_contents.h" 13 #include "content/browser/tab_contents/tab_contents.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/url_request/url_request.h" 16 #include "net/url_request/url_request.h"
17 17
18 using content::BrowserThread; 18 using content::BrowserThread;
19 using content::RenderViewHostImpl;
19 using content::WebContents; 20 using content::WebContents;
20 21
21 SSLErrorHandler::SSLErrorHandler(ResourceDispatcherHost* rdh, 22 SSLErrorHandler::SSLErrorHandler(ResourceDispatcherHost* rdh,
22 net::URLRequest* request, 23 net::URLRequest* request,
23 ResourceType::Type resource_type) 24 ResourceType::Type resource_type)
24 : manager_(NULL), 25 : manager_(NULL),
25 request_id_(0, 0), 26 request_id_(0, 0),
26 resource_dispatcher_host_(rdh), 27 resource_dispatcher_host_(rdh),
27 request_url_(request->url()), 28 request_url_(request->url()),
28 resource_type_(resource_type), 29 resource_type_(resource_type),
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // already have been deleted. 184 // already have been deleted.
184 DCHECK(!request_has_been_notified_); 185 DCHECK(!request_has_been_notified_);
185 if (request_has_been_notified_) 186 if (request_has_been_notified_)
186 return; 187 return;
187 188
188 request_has_been_notified_ = true; 189 request_has_been_notified_ = true;
189 190
190 // We're done with this object on the IO thread. 191 // We're done with this object on the IO thread.
191 Release(); 192 Release();
192 } 193 }
OLDNEW
« no previous file with comments | « content/browser/speech/speech_input_manager_impl.cc ('k') | content/browser/tab_contents/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698