Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / bookmarks / managed / managed_bookmark_util.h
blob9b3ec1815fcfb5b9ccbd2bd4185643d2abff7746
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_
6 #define COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_
8 namespace bookmarks {
10 class BookmarkPermanentNode;
11 class ManagedBookmarkService;
13 // Returns whether |node| is a permanent node.
14 bool IsPermanentNode(const BookmarkPermanentNode* node,
15 ManagedBookmarkService* managed_bookmark_service);
17 // Returns whether |node| is a managed node.
18 bool IsManagedNode(const BookmarkPermanentNode* node,
19 ManagedBookmarkService* managed_bookmark_service);
21 } // namespace bookmarks
23 #endif // COMPONENTS_BOOKMARKS_MANAGED_MANAGED_BOOKMARK_UTIL_H_