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

Unified Diff: chrome/browser/ssl/ssl_add_cert_handler.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ssl/ssl_add_cert_handler.cc
===================================================================
--- chrome/browser/ssl/ssl_add_cert_handler.cc (revision 116331)
+++ chrome/browser/ssl/ssl_add_cert_handler.cc (working copy)
@@ -10,14 +10,15 @@
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/web_contents.h"
#include "net/base/cert_database.h"
#include "net/base/net_errors.h"
#include "net/base/x509_certificate.h"
#include "net/url_request/url_request.h"
using content::BrowserThread;
+using content::WebContents;
SSLAddCertHandler::SSLAddCertHandler(net::URLRequest* request,
net::X509Certificate* cert,
@@ -86,7 +87,7 @@
}
void SSLAddCertHandler::CallVerifyClientCertificateError(int cert_error) {
- TabContents* tab = tab_util::GetTabContentsByID(
+ WebContents* tab = tab_util::GetWebContentsByID(
render_process_host_id_, render_view_id_);
if (!tab)
return;
@@ -98,7 +99,7 @@
void SSLAddCertHandler::CallAddClientCertificate(bool add_cert,
int cert_error) {
- TabContents* tab = tab_util::GetTabContentsByID(
+ WebContents* tab = tab_util::GetWebContentsByID(
render_process_host_id_, render_view_id_);
if (!tab)
return;
« no previous file with comments | « chrome/browser/speech/speech_input_bubble_views.cc ('k') | chrome/browser/tab_contents/confirm_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698