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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6398001: Run pre-classification checks in the browser before starting client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 base::PlatformFileError /* error_code */, 1055 base::PlatformFileError /* error_code */,
1056 IPC::PlatformFileForTransit /* file descriptor */, 1056 IPC::PlatformFileForTransit /* file descriptor */,
1057 int /* message_id */) 1057 int /* message_id */)
1058 1058
1059 // A classification model for client-side phishing detection. 1059 // A classification model for client-side phishing detection.
1060 // The given file contains an encoded safe_browsing::ClientSideModel 1060 // The given file contains an encoded safe_browsing::ClientSideModel
1061 // protocol buffer. 1061 // protocol buffer.
1062 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel, 1062 IPC_MESSAGE_CONTROL1(ViewMsg_SetPhishingModel,
1063 IPC::PlatformFileForTransit /* model_file */) 1063 IPC::PlatformFileForTransit /* model_file */)
1064 1064
1065 // Tells the renderer to begin phishing detection for the given toplevel URL
1066 // which it has started loading.
1067 IPC_MESSAGE_ROUTED1(ViewMsg_StartPhishingDetection, GURL)
1068
1065 // External popup menus. 1069 // External popup menus.
1066 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, 1070 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1067 int /* selected index, -1 means no selection */) 1071 int /* selected index, -1 means no selection */)
1068 1072
1069 // Indicate whether speech input API is enabled or not. 1073 // Indicate whether speech input API is enabled or not.
1070 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, 1074 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled,
1071 bool /* enabled */) 1075 bool /* enabled */)
1072 1076
1073 // The response to ViewHostMsg_PepperConnectTcp(Address). 1077 // The response to ViewHostMsg_PepperConnectTcp(Address).
1074 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK, 1078 IPC_MESSAGE_ROUTED4(ViewMsg_PepperConnectTcpACK,
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
2605 int /* request_id */, 2609 int /* request_id */,
2606 PP_Flash_NetAddress /* addr */) 2610 PP_Flash_NetAddress /* addr */)
2607 2611
2608 // JavaScript related messages ----------------------------------------------- 2612 // JavaScript related messages -----------------------------------------------
2609 2613
2610 // Notify the JavaScript engine in the render to change its parameters 2614 // Notify the JavaScript engine in the render to change its parameters
2611 // while performing stress testing. 2615 // while performing stress testing.
2612 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2616 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2613 int /* cmd */, 2617 int /* cmd */,
2614 int /* param */) 2618 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698