| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ | |
| 6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace syncable { | |
| 10 enum DirOpenResult { OPENED, // success. | |
| 11 FAILED_NEWER_VERSION, // DB version is too new. | |
| 12 FAILED_MAKE_REPOSITORY, // Couldn't create subdir. | |
| 13 FAILED_OPEN_DATABASE, // sqlite_open() failed. | |
| 14 FAILED_DISK_FULL, // The disk is full. | |
| 15 FAILED_DATABASE_CORRUPT, // Something is wrong with the DB | |
| 16 FAILED_LOGICAL_CORRUPTION, // Invalid database contents | |
| 17 }; | |
| 18 } // namespace syncable | |
| 19 | |
| 20 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ | |
| OLD | NEW |