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

Side by Side Diff: chrome/browser/win/jumplist_update_util.h

Issue 2896233003: Cancel the JumpList update if top 5 most visited URLs are unchanged (Closed)
Patch Set: Add unittest Created 3 years, 6 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 (c) 2017 The Chromium Authors. All rights reserved.
grt (UTC plus 2) 2017/05/30 08:51:42 nit: omit "(c)" (https://chromium.googlesource.com
chengx 2017/05/30 19:37:02 Done. I also removed "(c)" for other header files.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_
6 #define CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_
7
8 #include "chrome/browser/win/jumplist_updater.h"
9 #include "components/history/core/browser/history_types.h"
10
11 // Checks if the urls stored in |items| are unchanged compared to the first
12 // |most_visited_items| urls in |urls|.
13 bool MostVisitedItemsUnchanged(const ShellLinkItemList& items,
14 const history::MostVisitedURLList& urls,
15 size_t most_visited_items);
16
17 #endif // CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698