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

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

Issue 11103031: webkit: Merge blob and fileapi into one build target 'storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Leave *.gypi files in blob and fileapi 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
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/fileapi/fileapi_export.h" 8 #include "webkit/storage/webkit_storage_export.h"
9 9
10 namespace leveldb { 10 namespace leveldb {
11 class Status; 11 class Status;
12 } 12 }
13 13
14 namespace fileapi { 14 namespace fileapi {
15 15
16 enum SyncStatusCode { 16 enum SyncStatusCode {
17 SYNC_STATUS_OK = 0, 17 SYNC_STATUS_OK = 0,
18 SYNC_STATUS_UNKNOWN = -1000, 18 SYNC_STATUS_UNKNOWN = -1000,
(...skipping 15 matching lines...) Expand all
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 }; 42 };
43 43
44 FILEAPI_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( 44 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode(
45 const leveldb::Status& status); 45 const leveldb::Status& status);
46 46
47 } // namespace fileapi 47 } // namespace fileapi
48 48
49 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ 49 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/local_file_sync_status.h ('k') | webkit/fileapi/syncable/syncable_file_system_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698