| Index: chrome/common/safebrowsing_messages.h
|
| diff --git a/chrome/common/safebrowsing_messages.h b/chrome/common/safebrowsing_messages.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..072d3c635f5bc9f04168bc7af0f4f3131852191f
|
| --- /dev/null
|
| +++ b/chrome/common/safebrowsing_messages.h
|
| @@ -0,0 +1,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_
|
|
|