#include "build/buildflag.h"
#include "chrome/browser/browsing_data/chrome_browsing_data_remover_constants.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/autofill/content/browser/content_autofill_driver.h"
#include "components/autofill/content/browser/test_autofill_manager_injector.h"
#include "components/autofill/core/browser/browser_autofill_manager.h"
#include "components/autofill/core/browser/test_autofill_manager_waiter.h"
#include "content/public/browser/browsing_data_remover.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/test/back_forward_cache_util.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browsing_data_remover_test_util.h"
#include "net/dns/mock_host_resolver.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom.h"
#include "url/url_constants.h"
namespace {
const char kEditPhoneAndEmailFieldScript[] = …;
}
class FormfillPageLoadMetricsObserverBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FormfillPageLoadMetricsObserverBrowserTest,
UserDataFieldFilledUseCounter) { … }
IN_PROC_BROWSER_TEST_F(FormfillPageLoadMetricsObserverBrowserTest,
DISABLED_UserDataFieldFilledPreviouslyUseCounter) { … }
#if BUILDFLAG(IS_LINUX)
#define MAYBE_ClearBrowsingData …
#else
#define MAYBE_ClearBrowsingData …
#endif
IN_PROC_BROWSER_TEST_F(FormfillPageLoadMetricsObserverBrowserTest,
MAYBE_ClearBrowsingData) { … }