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

Side by Side Diff: components/sync/syncable/dir_open_result.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 2 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
6 #define COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
7 7
8 namespace syncer { 8 namespace syncer {
9 namespace syncable { 9 namespace syncable {
10
10 enum DirOpenResult { 11 enum DirOpenResult {
11 NOT_INITIALIZED, 12 NOT_INITIALIZED,
12 OPENED, // success. 13 OPENED, // success.
13 FAILED_NEWER_VERSION, // DB version is too new. 14 FAILED_NEWER_VERSION, // DB version is too new.
14 FAILED_MAKE_REPOSITORY, // Couldn't create subdir. 15 FAILED_MAKE_REPOSITORY, // Couldn't create subdir.
15 FAILED_OPEN_DATABASE, // sqlite_open() failed. 16 FAILED_OPEN_DATABASE, // sqlite_open() failed.
16 FAILED_DISK_FULL, // The disk is full. 17 FAILED_DISK_FULL, // The disk is full.
17 FAILED_DATABASE_CORRUPT, // Something is wrong with the DB 18 FAILED_DATABASE_CORRUPT, // Something is wrong with the DB
18 FAILED_LOGICAL_CORRUPTION, // Invalid database contents 19 FAILED_LOGICAL_CORRUPTION, // Invalid database contents
19 FAILED_IN_UNITTEST, // For tests. 20 FAILED_IN_UNITTEST, // For tests.
20 FAILED_INITIAL_WRITE, // Early write to DB failed. 21 FAILED_INITIAL_WRITE, // Early write to DB failed.
21 }; 22 };
23
22 } // namespace syncable 24 } // namespace syncable
23 } // namespace syncer 25 } // namespace syncer
24 26
25 #endif // COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_ 27 #endif // COMPONENTS_SYNC_SYNCABLE_DIR_OPEN_RESULT_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/worker_entity_tracker_unittest.cc ('k') | components/sync/syncable/directory_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698