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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate.cc

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont DCHECK because some unit tests are failing. Created 9 years, 10 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/renderer/safe_browsing/phishing_classifier_delegate.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc b/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
index 7fd059522bb28fb664ca9622a138b06406075d24..8e692e8e132640f39f831b3fbf26b2a09d602624 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
@@ -10,7 +10,7 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/scoped_callback_factory.h"
-#include "chrome/common/render_messages.h"
+#include "chrome/common/safebrowsing_messages.h"
#include "chrome/renderer/navigation_state.h"
#include "chrome/renderer/render_thread.h"
#include "chrome/renderer/render_view.h"
@@ -189,8 +189,8 @@ void PhishingClassifierDelegate::ClassificationDone(bool is_phishy,
return;
}
- render_view()->Send(new ViewHostMsg_DetectedPhishingSite(
- render_view()->routing_id(),
+ Send(new SafeBrowsingDetectionHostMsg_DetectedPhishingSite(
+ routing_id(),
last_url_sent_to_classifier_,
phishy_score));
}

Powered by Google App Engine
This is Rietveld 408576698