| 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/google_apis/gdata_errorcode.h" | 8 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 9 #include "webkit/fileapi/syncable/sync_status_code.h" | 9 #include "webkit/browser/fileapi/syncable/sync_status_code.h" |
| 10 | 10 |
| 11 namespace sync_file_system { | 11 namespace sync_file_system { |
| 12 | 12 |
| 13 // Translates GDataErrorCode to SyncStatusCode. | 13 // Translates GDataErrorCode to SyncStatusCode. |
| 14 SyncStatusCode GDataErrorCodeToSyncStatusCode( | 14 SyncStatusCode GDataErrorCodeToSyncStatusCode( |
| 15 google_apis::GDataErrorCode error); | 15 google_apis::GDataErrorCode error); |
| 16 | 16 |
| 17 } // namespace sync_file_system | 17 } // namespace sync_file_system |
| 18 | 18 |
| 19 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ | 19 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_UTIL_H_ |
| OLD | NEW |