summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 23:54:16 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 23:54:16 +0000
commitb201c43673a3cf10e10004b06f0c434c88fdd6d5 (patch)
treefcd82305e73934a7906db60a7bb20b4bc8ba20c1 /chrome/common
parentd6c997fe9d62350b0923a4b2cb3838db1b049b26 (diff)
downloadchromium_src-b201c43673a3cf10e10004b06f0c434c88fdd6d5.zip
chromium_src-b201c43673a3cf10e10004b06f0c434c88fdd6d5.tar.gz
chromium_src-b201c43673a3cf10e10004b06f0c434c88fdd6d5.tar.bz2
Run pre-classification checks in the browser before starting client-side phishing detection.
This CL just adds a framework for running these checks, and adjusts the renderer-side logic to delay phishing classification until the browser has sent an IPC signaling that it should run. Future CL's will add the actual checks, which will include a whitelist lookup, intranet hostname checks, and per-day ping limit. BUG=none TEST=updated existing tests Review URL: http://codereview.chromium.org/6398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index 1a0298c..ef434ed 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -1048,6 +1048,10 @@ IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK,
IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel,
IPC::PlatformFileForTransit /* model_file */)
+// Tells the renderer to begin phishing detection for the given toplevel URL
+// which it has started loading.
+IPC_MESSAGE_ROUTED1(ViewMsg_StartPhishingDetection, GURL)
+
// External popup menus.
IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
int /* selected index, -1 means no selection */)