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

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: Remove comment 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
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 2482 matching lines...) Expand 10 before | Expand all | Expand 10 after
2493 // Suggest results ----------------------------------------------------------- 2493 // Suggest results -----------------------------------------------------------
2494 2494
2495 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions, 2495 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestions,
2496 int32 /* page_id */, 2496 int32 /* page_id */,
2497 std::vector<std::string> /* suggestions */) 2497 std::vector<std::string> /* suggestions */)
2498 2498
2499 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, 2499 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined,
2500 int32 /* page_id */, 2500 int32 /* page_id */,
2501 bool /* result */) 2501 bool /* result */)
2502 2502
2503 // Client-Side Phishing Detector ---------------------------------------------
2504 // Inform the browser that the current URL is phishing according to the
2505 // client-side phishing detector.
2506 IPC_MESSAGE_ROUTED2(ViewHostMsg_DetectedPhishingSite,
2507 GURL /* phishing_url */,
2508 double /* phishing_score */)
2509
2510 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied 2503 // Response from ViewMsg_ScriptEvalRequest. The ID is the parameter supplied
2511 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the 2504 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the
2512 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or 2505 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or
2513 // String. 2506 // String.
2514 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, 2507 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse,
2515 int /* id */, 2508 int /* id */,
2516 ListValue /* result */) 2509 ListValue /* result */)
2517 2510
2518 // Updates the content restrictions, i.e. to disable print/copy. 2511 // Updates the content restrictions, i.e. to disable print/copy.
2519 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, 2512 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
2520 int /* restrictions */) 2513 int /* restrictions */)
2521 2514
2522 // The currently displayed PDF has an unsupported feature. 2515 // The currently displayed PDF has an unsupported feature.
2523 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2516 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2524 2517
2525 // JavaScript related messages ----------------------------------------------- 2518 // JavaScript related messages -----------------------------------------------
2526 2519
2527 // Notify the JavaScript engine in the render to change its parameters 2520 // Notify the JavaScript engine in the render to change its parameters
2528 // while performing stress testing. 2521 // while performing stress testing.
2529 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2522 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2530 int /* cmd */, 2523 int /* cmd */,
2531 int /* param */) 2524 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698