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

Side by Side Diff: chrome/browser/sync_file_system/sync_status_code.h

Issue 22810002: SyncFS: Reorder initialization sequence of SyncFileSystemService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/local/sync_file_system_backend.cc ('k') | chrome/browser/sync_file_system/sync_status_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698