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

Unified 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: Add extra comment and fix compilation error. Created 5 years 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: components/visitedlink/common/visitedlink_messages.h
diff --git a/components/visitedlink/common/visitedlink_messages.h b/components/visitedlink/common/visitedlink_messages.h
index c0877765f128ba03a73bd2a7bd65e6572dc53b82..95b93386315c37ca7ace8fa91ea773251ec73658 100644
--- a/components/visitedlink/common/visitedlink_messages.h
+++ b/components/visitedlink/common/visitedlink_messages.h
@@ -24,6 +24,7 @@ IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64>)
// History system notification that one or more history items have been
// deleted, which at this point means that all link coloring state must be
-// re-calculated.
-IPC_MESSAGE_CONTROL0(ChromeViewMsg_VisitedLink_Reset)
-
+// re-calculated. Boolean flag is used to inform renderer process to invalidate
+// cached visited links hashes. The flag is needed because the salt will change
+// after loading the visitedlink table from the database file.
+IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Reset, bool)
« no previous file with comments | « components/visitedlink/browser/visitedlink_master.cc ('k') | components/visitedlink/renderer/visitedlink_slave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698