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 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 5 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
6 | 6 |
7 namespace sync_file_system { | 7 namespace sync_file_system { |
8 namespace drive_backend { | 8 namespace drive_backend { |
9 | 9 |
10 const char kSyncRootFolderTitle[] = "Chrome Syncable FileSystem"; | 10 const char kSyncRootFolderTitle[] = "Chrome Syncable FileSystem"; |
| 11 const char kSyncRootFolderTitleDev[] = "Chrome Syncable FileSystem Dev"; |
| 12 const char kMimeTypeOctetStream[] = "application/octet-stream"; |
| 13 |
11 const base::FilePath::CharType kDatabaseName[] = | 14 const base::FilePath::CharType kDatabaseName[] = |
12 FILE_PATH_LITERAL("DriveMetadata_v2"); | 15 FILE_PATH_LITERAL("DriveMetadata_v2"); |
13 | 16 |
14 const char kDatabaseVersionKey[] = "VERSION"; | 17 const char kDatabaseVersionKey[] = "VERSION"; |
15 const int64 kCurrentDatabaseVersion = 3; | 18 const int64 kCurrentDatabaseVersion = 3; |
16 const char kServiceMetadataKey[] = "SERVICE"; | 19 const char kServiceMetadataKey[] = "SERVICE"; |
17 const char kFileMetadataKeyPrefix[] = "FILE: "; | 20 const char kFileMetadataKeyPrefix[] = "FILE: "; |
18 const char kFileTrackerKeyPrefix[] = "TRACKER: "; | 21 const char kFileTrackerKeyPrefix[] = "TRACKER: "; |
19 | 22 |
20 const int kMaxRetry = 5; | 23 const int kMaxRetry = 5; |
21 const int64 kListChangesRetryDelaySeconds = 60 * 60; | 24 const int64 kListChangesRetryDelaySeconds = 60 * 60; |
22 | 25 |
23 } // namespace drive_backend | 26 } // namespace drive_backend |
24 } // namespace sync_file_system | 27 } // namespace sync_file_system |
OLD | NEW |