blob: f298ff0a5d3b6dfc0c35447bd662946837b72cba [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
namespace syncable {
enum DirOpenResult { NOT_INITIALIZED,
OPENED, // success.
FAILED_NEWER_VERSION, // DB version is too new.
FAILED_MAKE_REPOSITORY, // Couldn't create subdir.
FAILED_OPEN_DATABASE, // sqlite_open() failed.
FAILED_DISK_FULL, // The disk is full.
FAILED_DATABASE_CORRUPT, // Something is wrong with the DB
FAILED_LOGICAL_CORRUPTION, // Invalid database contents
} // namespace syncable