#include "components/bookmarks/test/bookmark_test_helpers.h"
#include <stddef.h>
#include "base/check.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "components/bookmarks/browser/base_bookmark_model_observer.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "url/gurl.h"
namespace bookmarks {
namespace test {
namespace {
class BookmarkLoadObserver : public BaseBookmarkModelObserver { … };
std::string::size_type AddNodesFromString(BookmarkModel* model,
const BookmarkNode* node,
const std::string& model_string,
std::string::size_type start_pos) { … }
}
void WaitForBookmarkModelToLoad(BookmarkModel* model) { … }
std::string ModelStringFromNode(const BookmarkNode* node) { … }
void AddNodesFromModelString(BookmarkModel* model,
const BookmarkNode* node,
const std::string& model_string) { … }
}
}