blob: 9b3ec1815fcfb5b9ccbd2bd4185643d2abff7746 [file] [log] [blame]
// Copyright 2015 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 COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_
#define COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_
namespace bookmarks {
class BookmarkPermanentNode;
class ManagedBookmarkService;
// Returns whether |node| is a permanent node.
bool IsPermanentNode(const BookmarkPermanentNode* node,
ManagedBookmarkService* managed_bookmark_service);
// Returns whether |node| is a managed node.
bool IsManagedNode(const BookmarkPermanentNode* node,
ManagedBookmarkService* managed_bookmark_service);
} // namespace bookmarks
#endif // COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_