Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: chrome/browser/sync/syncable/dir_open_result.h

Issue 8475017: Check node references during sync DB init (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
7 #pragma once 7 #pragma once
8 8
9 namespace syncable { 9 namespace syncable {
10 enum DirOpenResult { OPENED, // success. 10 enum DirOpenResult { OPENED, // success.
11 FAILED_NEWER_VERSION, // DB version is too new. 11 FAILED_NEWER_VERSION, // DB version is too new.
12 FAILED_MAKE_REPOSITORY, // Couldn't create subdir. 12 FAILED_MAKE_REPOSITORY, // Couldn't create subdir.
13 FAILED_OPEN_DATABASE, // sqlite_open() failed. 13 FAILED_OPEN_DATABASE, // sqlite_open() failed.
14 FAILED_DISK_FULL, // The disk is full. 14 FAILED_DISK_FULL, // The disk is full.
15 FAILED_DATABASE_CORRUPT, // Something is wrong with the DB 15 FAILED_DATABASE_CORRUPT, // Something is wrong with the DB
16 FAILED_LOGICAL_CORRUPTION, // Invalid database contents
16 }; 17 };
17 } // namespace syncable 18 } // namespace syncable
18 19
19 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 20 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/syncable/directory_manager.cc » ('j') | chrome/browser/sync/syncable/directory_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698