#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "components/sync/base/features.h"
#include "content/public/test/browser_test.h"
class SyncInternalsWebUITest : public WebUIMochaBrowserTest { … };
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, Uninitialized) { … }
#if BUILDFLAG(IS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, SyncDisabledByDefaultChromeOS) {
RunTestCase("SyncDisabledByDefaultChromeOS");
}
#else
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, SyncDisabledByDefault) { … }
#endif
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, LoadPastedAboutInfo) { … }
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, NetworkEventsTest) { … }
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest,
SearchTabDoesntChangeOnItemSelect) { … }
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, NodeBrowserTest) { … }
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, NodeBrowserRefreshOnTabSelect) { … }
IN_PROC_BROWSER_TEST_F(SyncInternalsWebUITest, DumpSyncEventsToText) { … }