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

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

Issue 6713084: Move the rest of the renderer->browser messages that belong in content. Also do a bunch of cleanup: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
===================================================================
--- chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (revision 79188)
+++ chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (working copy)
@@ -10,7 +10,6 @@
#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/render_thread.h"
#include "chrome/renderer/safe_browsing/feature_extractor_clock.h"
@@ -151,7 +150,7 @@
const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PhishingClassifierDelegate, message)
- IPC_MESSAGE_HANDLER(ViewMsg_StartPhishingDetection,
+ IPC_MESSAGE_HANDLER(SafeBrowsingMsg_StartPhishingDetection,
OnStartPhishingDetection)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -167,7 +166,7 @@
return;
}
- Send(new SafeBrowsingDetectionHostMsg_DetectedPhishingSite(
+ Send(new SafeBrowsingHostMsg_DetectedPhishingSite(
routing_id(),
last_url_sent_to_classifier_,
phishy_score));

Powered by Google App Engine
This is Rietveld 408576698