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

Unified Diff: content/browser/ssl/ssl_policy.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « content/browser/site_instance_unittest.cc ('k') | content/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_policy.cc
===================================================================
--- content/browser/ssl/ssl_policy.cc (revision 110571)
+++ content/browser/ssl/ssl_policy.cc (working copy)
@@ -10,7 +10,7 @@
#include "base/memory/singleton.h"
#include "base/string_piece.h"
#include "base/string_util.h"
-#include "content/browser/renderer_host/render_process_host.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/site_instance.h"
#include "content/browser/ssl/ssl_cert_error_handler.h"
@@ -93,7 +93,7 @@
return;
backend_->HostRanInsecureContent(GURL(security_origin).host(),
- site_instance->GetProcess()->id());
+ site_instance->GetProcess()->GetID());
}
void SSLPolicy::OnRequestStarted(SSLRequestInfo* info) {
@@ -145,8 +145,8 @@
// necessarily have site instances. Without a process, the entry can't
// possibly have insecure content. See bug http://crbug.com/12423.
if (site_instance &&
- backend_->DidHostRunInsecureContent(entry->url().host(),
- site_instance->GetProcess()->id())) {
+ backend_->DidHostRunInsecureContent(
+ entry->url().host(), site_instance->GetProcess()->GetID())) {
entry->ssl().set_security_style(
content::SECURITY_STYLE_AUTHENTICATION_BROKEN);
entry->ssl().set_ran_insecure_content();
« no previous file with comments | « content/browser/site_instance_unittest.cc ('k') | content/browser/tab_contents/interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698