#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/browsing_data/core/counters/autofill_counter.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/threading/platform_thread.h"
#include "base/time/time.h"
#include "base/uuid.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/webdata_services/web_data_service_factory.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/autofill_type.h"
#include "components/autofill/core/browser/data_model/autofill_profile.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/test_autofill_clock.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
#include "components/browsing_data/core/browsing_data_utils.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_test.h"
namespace {
class AutofillCounterTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, AutocompleteSuggestions) { … }
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, CreditCards) { … }
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, Addresses) { … }
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, ComplexResult) { … }
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, TimeRanges) { … }
}