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

Unified Diff: content/shell/common/layout_test/layout_test_messages.h

Issue 677673002: Move LayoutTestMessageFilter-related IPCs to their own message file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-land-cs-show
Patch Set: try including ipc_message_macros.h Created 6 years, 2 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: content/shell/common/layout_test/layout_test_messages.h
diff --git a/content/shell/common/layout_test/layout_test_messages.h b/content/shell/common/layout_test/layout_test_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..a97c3839b0cfe87c0248c6f77e55267e2bcce489
--- /dev/null
+++ b/content/shell/common/layout_test/layout_test_messages.h
@@ -0,0 +1,36 @@
+// Copyright 2014 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.
+
+// Multiply-included file, no traditional include guard.
+#include <string>
+#include <vector>
+
+#include "content/public/common/common_param_traits.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_platform_file.h"
+#include "url/gurl.h"
+
+#define IPC_MESSAGE_START LayoutTestMsgStart
+
+IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_ReadFileToString,
+ base::FilePath /* local path */,
+ std::string /* contents */)
+IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_RegisterIsolatedFileSystem,
+ std::vector<base::FilePath> /* absolute_filenames */,
+ std::string /* filesystem_id */)
+IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearAllDatabases)
+IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SetDatabaseQuota,
+ int /* quota */)
+IPC_SYNC_MESSAGE_ROUTED1_1(LayoutTestHostMsg_CheckWebNotificationPermission,
+ GURL /* origin */,
+ int /* result */)
+IPC_MESSAGE_ROUTED2(LayoutTestHostMsg_GrantWebNotificationPermission,
+ GURL /* origin */,
+ bool /* permission_granted */)
+IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_ClearWebNotificationPermissions)
+IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_SimulateWebNotificationClick,
+ std::string /* title */)
+IPC_MESSAGE_ROUTED1(LayoutTestHostMsg_AcceptAllCookies,
+ bool /* accept */)
+IPC_MESSAGE_ROUTED0(LayoutTestHostMsg_DeleteAllCookies)

Powered by Google App Engine
This is Rietveld 408576698