Index: chrome/browser/win/jumplist_update_util.h |
diff --git a/chrome/browser/win/jumplist_update_util.h b/chrome/browser/win/jumplist_update_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5459bc4bc36deb1a45a35bb07e330463f4d9caf |
--- /dev/null |
+++ b/chrome/browser/win/jumplist_update_util.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_ |
+#define CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_ |
+ |
+#include "chrome/browser/win/jumplist_updater.h" |
+#include "components/history/core/browser/history_types.h" |
+ |
+// Checks if the urls stored in |items| are unchanged compared to the first |
+// |max_item_count| urls in |urls|. |
+bool MostVisitedItemsUnchanged(const ShellLinkItemList& items, |
+ const history::MostVisitedURLList& urls, |
+ size_t max_item_count); |
+ |
+#endif // CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_ |