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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_CONSTANTS_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_CONSTANTS_H_
8 #include "base/files/file_path.h"
10 namespace sync_file_system
{
11 namespace drive_backend
{
13 extern const char kSyncRootFolderTitle
[];
14 extern const char kSyncRootFolderTitleDev
[];
15 extern const char kMimeTypeOctetStream
[];
17 extern const base::FilePath::CharType kDatabaseName
[];
19 extern const char kDatabaseVersionKey
[];
20 extern const int64 kCurrentDatabaseVersion
;
21 extern const int64 kDatabaseOnDiskVersion
;
22 extern const char kServiceMetadataKey
[];
23 extern const char kFileMetadataKeyPrefix
[];
24 extern const char kFileTrackerKeyPrefix
[];
25 extern const char kLastValidationTimeKey
[];
27 extern const char kAppRootIDByAppIDKeyPrefix
[];
28 extern const char kActiveTrackerIDByFileIDKeyPrefix
[];
29 extern const char kTrackerIDByFileIDKeyPrefix
[];
30 extern const char kMultiTrackerByFileIDKeyPrefix
[];
31 extern const char kActiveTrackerIDByParentAndTitleKeyPrefix
[];
32 extern const char kTrackerIDByParentAndTitleKeyPrefix
[];
33 extern const char kMultiBackingParentAndTitleKeyPrefix
[];
34 extern const char kDirtyIDKeyPrefix
[];
35 extern const char kDemotedDirtyIDKeyPrefix
[];
37 extern const int kMaxRetry
;
38 extern const int64 kListChangesRetryDelaySeconds
;
40 extern const int64 kInvalidTrackerID
;
42 } // namespace drive_backend
43 } // namespace sync_file_system
45 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_CONSTANTS_H_