chromium/chrome/browser/ui/views/payments/payment_request_use_stats_browsertest.cc

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

#include <vector>

#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/views/payments/payment_request_browsertest_base.h"
#include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/autofill/core/browser/address_data_manager.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/browser/test_autofill_clock.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"

namespace payments {

namespace {

const base::Time kSomeDate =;
const base::Time kSomeLaterDate =;

}  // namespace

PaymentRequestShippingAddressUseStatsTest;

// Tests that use stats for the shipping address used in a Payment Request are
// properly updated upon completion.
// Flaky. https://crbug.com/1495539.
IN_PROC_BROWSER_TEST_F(PaymentRequestShippingAddressUseStatsTest,
                       DISABLED_RecordUse) {}

PaymentRequestContactAddressUseStatsTest;

// Tests that use stats for the contact address used in a Payment Request are
// properly updated upon completion.
// Flaky. https://crbug.com/1495539.
IN_PROC_BROWSER_TEST_F(PaymentRequestContactAddressUseStatsTest,
                       DISABLED_RecordUse) {}

PaymentRequestSameShippingAndContactAddressUseStatsTest;

// Tests that use stats for an address that was used both as a shipping and
// contact address in a Payment Request are properly updated upon completion.
// Flaky. https://crbug.com/1495539.
IN_PROC_BROWSER_TEST_F(PaymentRequestSameShippingAndContactAddressUseStatsTest,
                       DISABLED_RecordUse) {}

}  // namespace payments