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

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

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/safebrowsing_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2493 matching lines...) Expand 10 before | Expand all | Expand 10 after
2504 // Suggest results ----------------------------------------------------------- 2504 // Suggest results -----------------------------------------------------------
2505 2505
2506 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions, 2506 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions,
2507 int32 /* page_id */, 2507 int32 /* page_id */,
2508 std::vector<std::string> /* suggestions */) 2508 std::vector<std::string> /* suggestions */)
2509 2509
2510 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, 2510 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined,
2511 int32 /* page_id */, 2511 int32 /* page_id */,
2512 bool /* result */) 2512 bool /* result */)
2513 2513
2514 // Client-Side Phishing Detector ---------------------------------------------
2515 // Inform the browser that the current URL is phishing according to the
2516 // client-side phishing detector.
2517 IPC_MESSAGE_ROUTED2(ViewHostMsg_DetectedPhishingSite,
2518 GURL /* phishing_url */,
2519 double /* phishing_score */)
2520
2521 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied 2514 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
2522 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 2515 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
2523 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or 2516 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or
2524 // String. 2517 // String.
2525 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 2518 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
2526 int /* id */, 2519 int /* id */,
2527 ListValue /* result */) 2520 ListValue /* result */)
2528 2521
2529 // Updates the content restrictions, i.e. to disable print/copy. 2522 // Updates the content restrictions, i.e. to disable print/copy.
2530 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, 2523 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
2531 int /* restrictions */) 2524 int /* restrictions */)
2532 2525
2533 // The currently displayed PDF has an unsupported feature. 2526 // The currently displayed PDF has an unsupported feature.
2534 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2527 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2535 2528
2536 // JavaScript related messages ----------------------------------------------- 2529 // JavaScript related messages -----------------------------------------------
2537 2530
2538 // Notify the JavaScript engine in the render to change its parameters 2531 // Notify the JavaScript engine in the render to change its parameters
2539 // while performing stress testing. 2532 // while performing stress testing.
2540 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2533 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2541 int /* cmd */, 2534 int /* cmd */,
2542 int /* param */) 2535 int /* param */)
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/safebrowsing_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698