#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "content/shell/browser/shell.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
namespace content {
#if !BUILDFLAG(IS_ANDROID)
#define MAYBE_DatabaseTest …
#else
#define MAYBE_DatabaseTest …
#endif
class MAYBE_DatabaseTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, InsertRecord) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, UpdateRecord) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, DeleteRecord) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, DeleteNonexistentRow) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, DatabaseOperations) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, ReloadPage) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest,
OffTheRecordCannotReadRegularDatabase) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest,
RegularCannotReadOffTheRecordDatabase) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, ModificationPersistInSecondTab) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, PRE_DatabasePersistsAfterRelaunch) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, DatabasePersistsAfterRelaunch) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest,
PRE_OffTheRecordDatabaseNotPersistent) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest, OffTheRecordDatabaseNotPersistent) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest,
ModificationsPersistAfterRendererCrash) { … }
IN_PROC_BROWSER_TEST_F(MAYBE_DatabaseTest,
OffTheRecordDBPersistentAcrossWindows) { … }
}