blob: 072d3c635f5bc9f04168bc7af0f4f3131852191f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_SAFEBROWSING_MESSAGES_H_
#define CHROME_COMMON_SAFEBROWSING_MESSAGES_H_
#pragma once
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START SafeBrowsingMsgStart
// SafeBrowsing client-side detection messages sent from the renderer to the
// browser.
// Inform the browser that the current URL is phishing according to the
// client-side phishing detector.
IPC_MESSAGE_ROUTED2(SafeBrowsingDetectionHostMsg_DetectedPhishingSite,
GURL /* phishing_url */,
double /* phishing_score */)
// SafeBrowsing client-side detection messages sent from the browser to the
// renderer. TODO(noelutz): move other IPC messages here.
#endif // CHROME_COMMON_SAFEBROWSING_MESSAGES_H_
|