OLD | NEW |
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_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ |
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
11 #include "webkit/storage/webkit_storage_export.h" | 11 #include "webkit/storage/webkit_storage_export.h" |
12 | 12 |
13 namespace leveldb { | 13 namespace leveldb { |
14 class Status; | 14 class Status; |
15 } | 15 } |
16 | 16 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 WEBKIT_STORAGE_EXPORT std::string SyncStatusCodeToString(SyncStatusCode status); | 64 WEBKIT_STORAGE_EXPORT std::string SyncStatusCodeToString(SyncStatusCode status); |
65 | 65 |
66 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( | 66 WEBKIT_STORAGE_EXPORT SyncStatusCode LevelDBStatusToSyncStatusCode( |
67 const leveldb::Status& status); | 67 const leveldb::Status& status); |
68 | 68 |
69 WEBKIT_STORAGE_EXPORT SyncStatusCode PlatformFileErrorToSyncStatusCode( | 69 WEBKIT_STORAGE_EXPORT SyncStatusCode PlatformFileErrorToSyncStatusCode( |
70 base::PlatformFileError file_error); | 70 base::PlatformFileError file_error); |
71 | 71 |
72 } // namespace sync_file_system | 72 } // namespace sync_file_system |
73 | 73 |
74 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ | 74 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNC_STATUS_CODE_H_ |
OLD | NEW |