summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/dir_open_result.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/syncable/dir_open_result.h')
-rw-r--r--chrome/browser/sync/syncable/dir_open_result.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/sync/syncable/dir_open_result.h b/chrome/browser/sync/syncable/dir_open_result.h
new file mode 100644
index 0000000..e122319
--- /dev/null
+++ b/chrome/browser/sync/syncable/dir_open_result.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2009 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.
+
+#ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
+#define CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
+
+namespace syncable {
+enum DirOpenResult { 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.
+};
+} // namespace syncable
+
+#endif // CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_