12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Copyright (c) 2013 The Chromium Authors. All rights reserved.
22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// found in the LICENSE file.
42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Multiply-included file, no traditional include guard.
62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include <vector>
72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "base/basictypes.h"
97dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch#include "base/memory/shared_memory.h"
102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "content/public/common/common_param_traits_macros.h"
112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "ipc/ipc_message_macros.h"
122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#define IPC_MESSAGE_START VisitedLinkMsgStart
142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// History system notification that the visited link database has been
162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// replaced. It has one SharedMemoryHandle argument consisting of the table
172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// handle. This handle is valid in the context of the renderer
182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_NewTable,
192a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)                     base::SharedMemoryHandle)
202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// History system notification that a link has been added and the link
222a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// coloring state for the given hash must be re-calculated.
232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64>)
242a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
252a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// History system notification that one or more history items have been
262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// deleted, which at this point means that all link coloring state must be
272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// re-calculated.
282a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)IPC_MESSAGE_CONTROL0(ChromeViewMsg_VisitedLink_Reset)
292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
30