#include <math.h>
#include <map>
#include <memory>
#include <vector>
#include "base/cancelable_callback.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/time/clock.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/test/test_bookmark_client.h"
#include "components/commerce/core/bookmark_update_manager.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/commerce/core/mock_shopping_service.h"
#include "components/commerce/core/pref_names.h"
#include "components/commerce/core/test_utils.h"
#include "components/power_bookmarks/core/power_bookmark_utils.h"
#include "components/power_bookmarks/core/proto/power_bookmark_meta.pb.h"
#include "components/power_bookmarks/core/proto/shopping_specifics.pb.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace commerce {
class BookmarkUpdateManagerTest : public testing::Test { … };
TEST_F(BookmarkUpdateManagerTest, UpdateScheduled) { … }
TEST_F(BookmarkUpdateManagerTest, NoUpdateScheduled_KillSwitch) { … }
TEST_F(BookmarkUpdateManagerTest, UpdateNotDoubleScheduled) { … }
TEST_F(BookmarkUpdateManagerTest, RunScheduledTask) { … }
TEST_F(BookmarkUpdateManagerTest, RunScheduledTask_BlockedByFeatureCheck) { … }
TEST_F(BookmarkUpdateManagerTest, RunBatchedUpdate) { … }
TEST_F(BookmarkUpdateManagerTest, RunBatchedUpdate_OverMaxAllowed) { … }
TEST_F(BookmarkUpdateManagerTest, RunBatchedUpdate_BatchingDisabled) { … }
}