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

Side by Side Diff: components/visitedlink/common/visitedlink.mojom

Issue 2048503002: Convert visitedlink to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@message-mojom-magic
Patch Set: clang format Created 4 years, 3 months 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
(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 };
OLDNEW
« no previous file with comments | « components/visitedlink/common/OWNERS ('k') | components/visitedlink/common/visitedlink_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698