Chromium Code Reviews| 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..8dab9b8c7df1c0c899a77463c5ab89b5f5535da6 |
| --- /dev/null |
| +++ b/chrome/browser/win/jumplist_update_util.h |
| @@ -0,0 +1,17 @@ |
| +// 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.
|
| +// 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 |
| +// |most_visited_items| urls in |urls|. |
| +bool MostVisitedItemsUnchanged(const ShellLinkItemList& items, |
| + const history::MostVisitedURLList& urls, |
| + size_t most_visited_items); |
| + |
| +#endif // CHROME_BROWSER_WIN_JUMPLIST_UPDATE_UTIL_H_ |