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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_file_sync_util.h

Issue 23787003: [SyncFS] Move SyncFS V1 files from drive_backend to drive_backend_v1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move back metadata_db_migration_util* 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/drive_backend/drive_file_sync_util.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_file_sync_util.h b/chrome/browser/sync_file_system/drive_backend/drive_file_sync_util.h
deleted file mode 100644
index 556798bcec6f8de6ff28fb599d30fc43369b5052..0000000000000000000000000000000000000000
--- a/chrome/browser/sync_file_system/drive_backend/drive_file_sync_util.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_FILE_SYNC_UTIL_H_
-#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_FILE_SYNC_UTIL_H_
-
-#include "chrome/browser/google_apis/gdata_errorcode.h"
-#include "chrome/browser/sync_file_system/sync_status_code.h"
-
-namespace sync_file_system {
-
-// Translates GDataErrorCode to SyncStatusCode.
-SyncStatusCode GDataErrorCodeToSyncStatusCode(
- google_apis::GDataErrorCode error);
-
-// Enables or disables Drive API in Sync FileSystem API.
-// TODO(nhiroki): This method should go away when we completely migrate to
-// DriveAPI. (http://crbug.com/234557)
-void SetDisableDriveAPI(bool flag);
-
-// Returns true if we disable Drive API in Sync FileSystem API.
-// It is enabled by default but can be overridden by a command-line switch
-// (--disable-drive-api-for-syncfs) or by calling SetDisableDriveAPI().
-// TODO(nhiroki): This method should go away when we completely migrate to
-// DriveAPI. (http://crbug.com/234557)
-bool IsDriveAPIDisabled();
-
-class ScopedDisableDriveAPI {
- public:
- ScopedDisableDriveAPI();
- ~ScopedDisableDriveAPI();
-
- private:
- bool was_disabled_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedDisableDriveAPI);
-};
-
-} // namespace sync_file_system
-
-#endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_FILE_SYNC_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698