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