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

Unified Diff: chrome/common/safebrowsing_messages.h

Issue 6014003: Intergration of the client-side phishing detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont DCHECK because some unit tests are failing. 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 side-by-side diff with in-line comments
Download patch
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.
jam 2011/02/15 18:54:53 thanks for creating this new file. the sooner thi
noelutz 2011/02/15 23:00:55 np.
+
+#endif // CHROME_COMMON_SAFEBROWSING_MESSAGES_H_

Powered by Google App Engine
This is Rietveld 408576698