#include "components/browsing_data/core/counters/passwords_counter.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "chrome/browser/password_manager/account_password_store_factory.h"
#include "chrome/browser/password_manager/profile_password_store_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "chrome/browser/sync/test/integration/passwords_helper.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/browsing_data/core/browsing_data_utils.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/password_manager/core/browser/password_form.h"
#include "components/password_manager/core/browser/password_store/password_store_interface.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_test.h"
namespace {
BrowsingDataCounter;
PasswordForm;
class PasswordsCounterTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, SameDomain) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, blocklisted) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, PrefChanged) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, StoreChanged) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, PeriodChanged) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, MostCommonDomains) { … }
IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, MultipleRestarts) { … }
}