| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_STATUS_CODE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_STATUS_CODE_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_STATUS_CODE_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_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" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 SYNC_STATUS_ACCESS_FORBIDDEN = -111, | 62 SYNC_STATUS_ACCESS_FORBIDDEN = -111, |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 const char* SyncStatusCodeToString(SyncStatusCode status); | 65 const char* SyncStatusCodeToString(SyncStatusCode status); |
| 66 | 66 |
| 67 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status); | 67 SyncStatusCode LevelDBStatusToSyncStatusCode(const leveldb::Status& status); |
| 68 | 68 |
| 69 SyncStatusCode PlatformFileErrorToSyncStatusCode( | 69 SyncStatusCode PlatformFileErrorToSyncStatusCode( |
| 70 base::PlatformFileError file_error); | 70 base::PlatformFileError file_error); |
| 71 | 71 |
| 72 base::PlatformFileError SyncStatusCodeToPlatformFileError( |
| 73 SyncStatusCode status); |
| 74 |
| 72 } // namespace sync_file_system | 75 } // namespace sync_file_system |
| 73 | 76 |
| 74 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_STATUS_CODE_H_ | 77 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_STATUS_CODE_H_ |
| OLD | NEW |