chromium/chrome/browser/ui/webui/password_manager/sync_handler_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/webui/password_manager/sync_handler.h"

#include "base/memory/raw_ptr.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/signin/identity_test_environment_profile_adaptor.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_browser_process.h"
#include "components/sync/service/sync_service_utils.h"
#include "components/sync/test/mock_sync_service.h"
#include "content/public/test/test_web_ui.h"

MockSyncService;
Return;

namespace password_manager {

namespace {

const char kTestCallbackId[] =;

std::unique_ptr<KeyedService> BuildMockSyncService(
    content::BrowserContext* context) {}

bool CallbackReturnedSuccessfully(const content::TestWebUI::CallData& data) {}

}  // namespace

class SyncHandlerTest : public ChromeRenderViewHostTestHarness {};

TEST_F(SyncHandlerTest, HandleTrustedVaultBannerStateNotShown) {}

TEST_F(SyncHandlerTest, HandleTrustedVaultBannerStateOptedIn) {}

TEST_F(SyncHandlerTest, HandleTrustedVaultBannerStateOfferOptIn) {}

TEST_F(SyncHandlerTest, TrustedVaultBannerStateChange) {}

TEST_F(SyncHandlerTest, GetSyncInfo) {}

TEST_F(SyncHandlerTest, GetSyncInfoOnSyncStateChange) {}

TEST_F(SyncHandlerTest, AccountInfo) {}

TEST_F(SyncHandlerTest, NotEligibleForAccountStorageWhenSetupNotComplete) {}

}  // namespace password_manager