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

Side by Side Diff: components/visitedlink/common/visitedlink_messages.h

Issue 1417943002: Load the table of visited links from database file asynchronously. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Load the table of visited links asynchronously and inform render about finish loading process. Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "content/public/common/common_param_traits_macros.h" 10 #include "content/public/common/common_param_traits_macros.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 12
13 #define IPC_MESSAGE_START VisitedLinkMsgStart 13 #define IPC_MESSAGE_START VisitedLinkMsgStart
14 14
15 // History system notification that the visited link database has been 15 // History system notification that the visited link database has been
16 // replaced. It has one SharedMemoryHandle argument consisting of the table 16 // replaced. It has one SharedMemoryHandle argument consisting of the table
17 // handle. This handle is valid in the context of the renderer 17 // handle. This handle is valid in the context of the renderer
18 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_NewTable, 18 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_NewTable,
19 base::SharedMemoryHandle) 19 base::SharedMemoryHandle)
20 20
21 // History system notification that a link has been added and the link 21 // History system notification that a link has been added and the link
22 // coloring state for the given hash must be re-calculated. 22 // coloring state for the given hash must be re-calculated.
23 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64>) 23 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64>)
24 24
25 // History system notification that one or more history items have been 25 // History system notification that one or more history items have been
26 // deleted, which at this point means that all link coloring state must be 26 // deleted, which at this point means that all link coloring state must be
27 // re-calculated. 27 // re-calculated. Boolean flag is used to inform renderer process to invalidate
28 IPC_MESSAGE_CONTROL0(ChromeViewMsg_VisitedLink_Reset) 28 // cached visited links hashes.
brettw 2015/12/08 00:54:42 Whatever you add to visitedlink_master.h about has
29 29 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Reset, bool)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698