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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host.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
Index: chrome/browser/safe_browsing/client_side_detection_host.cc
===================================================================
--- chrome/browser/safe_browsing/client_side_detection_host.cc (revision 110571)
+++ chrome/browser/safe_browsing/client_side_detection_host.cc (working copy)
@@ -21,7 +21,6 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/safe_browsing/csd.pb.h"
#include "chrome/common/safe_browsing/safebrowsing_messages.h"
-#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/render_view_host_delegate.h"
#include "content/browser/renderer_host/resource_dispatcher_host.h"
@@ -33,6 +32,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/render_process_host.h"
#include "googleurl/src/gurl.h"
using content::BrowserThread;
@@ -343,7 +343,7 @@
// either a malware or phishing hit. In this case we store the unique page
// ID for later.
if (tab_contents() &&
- tab_contents()->GetRenderProcessHost()->id() ==
+ tab_contents()->GetRenderProcessHost()->GetID() ==
resource.render_process_host_id &&
tab_contents()->render_view_host()->routing_id() ==
resource.render_view_id &&
@@ -421,7 +421,7 @@
resource.is_subresource = false;
resource.threat_type = SafeBrowsingService::CLIENT_SIDE_PHISHING_URL;
resource.render_process_host_id =
- tab_contents()->GetRenderProcessHost()->id();
+ tab_contents()->GetRenderProcessHost()->GetID();
resource.render_view_id =
tab_contents()->render_view_host()->routing_id();
if (!sb_service_->IsWhitelisted(resource)) {

Powered by Google App Engine
This is Rietveld 408576698