#include "chrome/browser/extensions/api/bookmarks_core/bookmarks_function.h"
#include <string>
#include <utility>
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/bookmarks/managed_bookmark_service_factory.h"
#include "chrome/browser/extensions/api/bookmarks/bookmarks_api_watcher.h"
#include "chrome/browser/extensions/bookmarks/bookmarks_error_constants.h"
#include "chrome/browser/profiles/profile.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/bookmarks/managed/managed_bookmark_service.h"
#include "components/prefs/pref_service.h"
#include "components/user_prefs/user_prefs.h"
BookmarkModel;
BookmarkNode;
ManagedBookmarkService;
namespace extensions {
ExtensionFunction::ResponseAction BookmarksFunction::Run() { … }
BookmarkModel* BookmarksFunction::GetBookmarkModel() { … }
ManagedBookmarkService* BookmarksFunction::GetManagedBookmarkService() { … }
const BookmarkNode* BookmarksFunction::GetBookmarkNodeFromId(
const std::string& id_string,
std::string* error) { … }
bool BookmarksFunction::EditBookmarksEnabled() { … }
bool BookmarksFunction::CanBeModified(const BookmarkNode* node,
std::string* error) { … }
Profile* BookmarksFunction::GetProfile() { … }
void BookmarksFunction::OnResponded() { … }
void BookmarksFunction::BookmarkModelChanged() { … }
void BookmarksFunction::BookmarkModelLoaded(bool ids_reassigned) { … }
}