#include "chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h"
#include <memory>
#include <string>
#include "base/files/scoped_temp_dir.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "storage/browser/file_system/external_mount_points.h"
#include "storage/common/file_system/file_system_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/env_chromium.h"
#include "third_party/leveldatabase/src/include/leveldb/db.h"
#include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
#include "url/gurl.h"
#define FPL …
namespace sync_file_system {
namespace drive_backend {
namespace {
void VerifyKeyAndValue(const std::string& key,
const std::string& expect_val,
leveldb::DB* db) { … }
void VerifyNotExist(const std::string& key, leveldb::DB* db) { … }
}
TEST(DriveMetadataDBMigrationUtilTest, RollbackFromV4ToV3) { … }
}
}