#include "chrome/browser/ui/profiles/profile_customization_synced_theme_waiter.h"
#include <memory>
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "chrome/browser/themes/theme_helper.h"
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_syncable_service.h"
#include "components/sync/test/test_sync_service.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
class FakeThemeService : public ThemeService { … };
class ProfileCustomizationSyncedThemeWaiterTest : public testing::Test { … };
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, SyncGetsDefaultTheme) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest,
SyncGetsDefaultTheme_BeforeWaitStarted) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, SyncGetsCustomColor) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, SyncGetsCustomTheme) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest,
SyncGetsCustomThemeToInstall) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, SyncDisabled) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest,
SyncDisabled_AfterWaitStarted) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, SyncHasCustomPasshrase) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest,
SyncHasCustomPasshrase_AfterWaitStarted) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, Timeout) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest,
SyncGetsDefaultTheme_TimeoutIgnored) { … }
TEST_F(ProfileCustomizationSyncedThemeWaiterTest, WaiterDeletedBeforeDone) { … }