#include <memory>
#include <set>
#include <string>
#include "base/containers/contains.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/uuid.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/power_bookmarks/core/bookmark_client_base.h"
#include "components/power_bookmarks/core/suggested_save_location_provider.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace power_bookmarks {
namespace {
const base::TimeDelta kBackoffTime = …;
class TestBookmarkClientImpl : public BookmarkClientBase { … };
class MockSuggestionProvider : public SuggestedSaveLocationProvider { … };
}
class BookmarkClientBaseTest : public testing::Test { … };
TEST_F(BookmarkClientBaseTest, SuggestedFolder) { … }
TEST_F(BookmarkClientBaseTest, SuggestedFolder_Rejected) { … }
TEST_F(BookmarkClientBaseTest, SuggestedFolder_RejectionCoolOff) { … }
TEST_F(BookmarkClientBaseTest, SuggestedFolder_ExplicitSave) { … }
TEST_F(BookmarkClientBaseTest, SaveLocationMetrics) { … }
}