// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_MIGRATIONS_H_ #define STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_MIGRATIONS_H_ namespace storage { class QuotaDatabase; // Helper class of QuotaDatabase which handles the QuotaManager SQL database // schema migrations. Any change that requires a change in the schema version // and adds new tables, columns, or modifies existing data should have a // migration to avoid data loss. // // QuotaDatabaseMigrations is a friended class of QuotaDatabase and updates the // existing SQL QuotaManager database owned by the QuotaDatabase class. class QuotaDatabaseMigrations { … }; } // namespace storage #endif // STORAGE_BROWSER_QUOTA_QUOTA_DATABASE_MIGRATIONS_H_