| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 module visitedlink.mojom; |
| 6 |
| 7 interface VisitedLinkNotificationSink { |
| 8 // Notification that the visited link database has been replaced. It has one |
| 9 // SharedMemoryHandle argument consisting of the table handle. |
| 10 UpdateVisitedLinks(handle<shared_buffer> table_handle); |
| 11 |
| 12 // Notification that one or more links have been added and the link coloring |
| 13 // state for the given hashes must be re-calculated. |
| 14 AddVisitedLinks(array<uint64> link_hashes); |
| 15 |
| 16 // Notification that one or more history items have been deleted, which at |
| 17 // this point means that all link coloring state must be re-calculated. |
| 18 // |invalidate_cached_hashes| is used to inform renderer process to invalidate |
| 19 // cached visited links hashes. The flag is needed because the salt will |
| 20 // change after loading the visitedlink table from the database file. |
| 21 ResetVisitedLinks(bool invalidate_cached_hashes); |
| 22 }; |
| OLD | NEW |