| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013 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 // Multiply-included file, no traditional include guard. | |
| 6 | |
| 7 #include <stdint.h> | |
| 8 | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/memory/shared_memory.h" | |
| 12 #include "content/public/common/common_param_traits_macros.h" | |
| 13 #include "ipc/ipc_message_macros.h" | |
| 14 | |
| 15 #define IPC_MESSAGE_START VisitedLinkMsgStart | |
| 16 | |
| 17 // History system notification that the visited link database has been | |
| 18 // replaced. It has one SharedMemoryHandle argument consisting of the table | |
| 19 // handle. This handle is valid in the context of the renderer | |
| 20 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_NewTable, | |
| 21 base::SharedMemoryHandle) | |
| 22 | |
| 23 // History system notification that a link has been added and the link | |
| 24 // coloring state for the given hash must be re-calculated. | |
| 25 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64_t>) | |
| 26 | |
| 27 // History system notification that one or more history items have been | |
| 28 // deleted, which at this point means that all link coloring state must be | |
| 29 // re-calculated. Boolean flag is used to inform renderer process to invalidate | |
| 30 // cached visited links hashes. The flag is needed because the salt will change | |
| 31 // after loading the visitedlink table from the database file. | |
| 32 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Reset, bool) | |
| OLD | NEW |