Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_SAFEBROWSING_MESSAGES_H_ | |
| 6 #define CHROME_COMMON_SAFEBROWSING_MESSAGES_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "googleurl/src/gurl.h" | |
| 10 #include "ipc/ipc_message_macros.h" | |
| 11 | |
| 12 #define IPC_MESSAGE_START SafeBrowsingMsgStart | |
| 13 | |
| 14 // SafeBrowsing client-side detection messages sent from the renderer to the | |
| 15 // browser. | |
| 16 | |
| 17 // Inform the browser that the current URL is phishing according to the | |
| 18 // client-side phishing detector. | |
| 19 IPC_MESSAGE_ROUTED2(SafeBrowsingDetectionHostMsg_DetectedPhishingSite, | |
| 20 GURL /* phishing_url */, | |
| 21 double /* phishing_score */) | |
| 22 | |
| 23 // SafeBrowsing client-side detection messages sent from the browser to the | |
| 24 // renderer. TODO(noelutz): move other IPC messages here. | |
|
jam
2011/02/15 18:54:53
thanks for creating this new file. the sooner thi
noelutz
2011/02/15 23:00:55
np.
| |
| 25 | |
| 26 #endif // CHROME_COMMON_SAFEBROWSING_MESSAGES_H_ | |
| OLD | NEW |