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

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

Issue 11234025: Add skeleton code to wire Local- and Remote- file sync services (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('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 21 matching lines...) Expand all
32 SYNC_FILE_ERROR_ABORT = -12, 32 SYNC_FILE_ERROR_ABORT = -12,
33 SYNC_FILE_ERROR_NOT_A_FILE = -13, 33 SYNC_FILE_ERROR_NOT_A_FILE = -13,
34 SYNC_FILE_ERROR_NOT_EMPTY = -14, 34 SYNC_FILE_ERROR_NOT_EMPTY = -14,
35 SYNC_FILE_ERROR_INVALID_URL = -15, 35 SYNC_FILE_ERROR_INVALID_URL = -15,
36 36
37 // Database related errors. 37 // Database related errors.
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
43 // Sync specific status code.
44 SYNC_STATUS_FILE_BUSY = -100,
45 SYNC_STATUS_HAS_CONFLICT = -101,
46 SYNC_STATUS_NOT_A_CONFLICT = -102,
47 SYNC_STATUS_SYNC_SUSPEND = -103,
42 }; 48 };
43 49
44 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( 50 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode(
45 const leveldb::Status& status); 51 const leveldb::Status& status);
46 52
47 } // namespace fileapi 53 } // namespace fileapi
48 54
49 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 55 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698