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

Side by Side Diff: webkit/fileapi/syncable/sync_status_code.h

Issue 11235027: Wire up Syncable operation runner to the local file sync context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 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
« no previous file with comments | « webkit/fileapi/syncable/local_file_sync_context_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 5 #ifndef WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
7 7
8 #include "webkit/storage/webkit_storage_export.h" 8 #include "webkit/storage/webkit_storage_export.h"
9 9
10 namespace leveldb { 10 namespace leveldb {
(...skipping 27 matching lines...) Expand all
38 SYNC_DATABASE_ERROR_NOT_FOUND = -16, 38 SYNC_DATABASE_ERROR_NOT_FOUND = -16,
39 SYNC_DATABASE_ERROR_CORRUPTION = -17, 39 SYNC_DATABASE_ERROR_CORRUPTION = -17,
40 SYNC_DATABASE_ERROR_IO_ERROR = -18, 40 SYNC_DATABASE_ERROR_IO_ERROR = -18,
41 SYNC_DATABASE_ERROR_FAILED = -19, 41 SYNC_DATABASE_ERROR_FAILED = -19,
42 42
43 // Sync specific status code. 43 // Sync specific status code.
44 SYNC_STATUS_FILE_BUSY = -100, 44 SYNC_STATUS_FILE_BUSY = -100,
45 SYNC_STATUS_HAS_CONFLICT = -101, 45 SYNC_STATUS_HAS_CONFLICT = -101,
46 SYNC_STATUS_NOT_A_CONFLICT = -102, 46 SYNC_STATUS_NOT_A_CONFLICT = -102,
47 SYNC_STATUS_SYNC_SUSPEND = -103, 47 SYNC_STATUS_SYNC_SUSPEND = -103,
48 SYNC_STATUS_ABORT = -104,
48 }; 49 };
49 50
50 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( 51 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode(
51 const leveldb::Status& status); 52 const leveldb::Status& status);
52 53
53 } // namespace fileapi 54 } // namespace fileapi
54 55
55 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 56 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/local_file_sync_context_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698