chromium/chrome/browser/sync/test/integration/two_client_wallet_sync_test.cc

// Copyright 2018 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/sync/test/integration/autofill_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/sync/test/integration/wallet_helper.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/browser/test_autofill_clock.h"
#include "components/autofill/core/common/autofill_util.h"
#include "components/sync/service/sync_service_impl.h"
#include "components/sync/test/fake_server_http_post_provider.h"
#include "content/public/test/browser_test.h"
#include "net/base/network_change_notifier.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

CreditCard;
CreateDefaultSyncPaymentsCustomerData;
CreateSyncWalletCard;
GetServerCardsMetadata;
GetServerCreditCards;
kDefaultBillingAddressID;
UpdateServerCardMetadata;

const char kDifferentBillingAddressId[] =;
constexpr char kLocalBillingAddressId[] =;
constexpr char kLocalBillingAddressId2[] =;
static_assert;
static_assert;

const base::Time kArbitraryDefaultTime =;
const base::Time kLaterTime =;
const base::Time kEvenLaterTime =;

class TwoClientWalletSyncTest : public SyncTest {};

IN_PROC_BROWSER_TEST_F(TwoClientWalletSyncTest, UpdateCreditCardMetadata) {}

IN_PROC_BROWSER_TEST_F(TwoClientWalletSyncTest,
                       UpdateCreditCardMetadataWhileNotSyncing) {}

IN_PROC_BROWSER_TEST_F(TwoClientWalletSyncTest,
                       UpdateCreditCardMetadataConflictsWhileNotSyncing) {}

IN_PROC_BROWSER_TEST_F(TwoClientWalletSyncTest,
                       UpdateCreditCardMetadataWithNewBillingAddressId) {}

IN_PROC_BROWSER_TEST_F(TwoClientWalletSyncTest,
                       UpdateCreditCardMetadataWithChangedBillingAddressId) {}

IN_PROC_BROWSER_TEST_F(
    TwoClientWalletSyncTest,
    UpdateCreditCardMetadataWithChangedBillingAddressId_RemoteToLocal) {}

IN_PROC_BROWSER_TEST_F(
    TwoClientWalletSyncTest,
    UpdateCreditCardMetadataWithChangedBillingAddressId_RemoteToLocalConflict) {}

}  // namespace