| Index: chrome/browser/ui/bookmarks/bookmark_utils_desktop.h
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_utils_desktop.h b/chrome/browser/ui/bookmarks/bookmark_utils_desktop.h
|
| index 062817bd9367af76de9b86e2116c5bb296f96392..d9c3ef15e75e6ede5902d06119d77a57b8dd5a2b 100644
|
| --- a/chrome/browser/ui/bookmarks/bookmark_utils_desktop.h
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_utils_desktop.h
|
| @@ -47,6 +47,18 @@ void OpenAll(gfx::NativeWindow parent,
|
| WindowOpenDisposition initial_disposition,
|
| content::BrowserContext* browser_context);
|
|
|
| +// Returns the count of bookmarks that would be opened by OpenAll. If
|
| +// |incognito_context| is set, the function will use it to check if the URLs can
|
| +// be opened in incognito mode, which may affect the count.
|
| +int OpenCount(gfx::NativeWindow parent,
|
| + const std::vector<const bookmarks::BookmarkNode*>& nodes,
|
| + content::BrowserContext* incognito_context = nullptr);
|
| +
|
| +// Convenience for OpenCount() with a single BookmarkNode.
|
| +int OpenCount(gfx::NativeWindow parent,
|
| + const bookmarks::BookmarkNode* node,
|
| + content::BrowserContext* incognito_context = nullptr);
|
| +
|
| // Asks the user before deleting a non-empty bookmark folder.
|
| bool ConfirmDeleteBookmarkNode(const bookmarks::BookmarkNode* node,
|
| gfx::NativeWindow window);
|
|
|