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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.h

Issue 22181002: Remove fileBrowserPrivate.transferFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 7 years, 4 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/chromeos/extensions/file_manager/private_api_drive.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
index cf79de3f438a5f203a31367240cbf031e6ed9c98..33eade37998fe9d297485a8971ee0c07e21df36b 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
@@ -119,25 +119,6 @@ class CancelFileTransfersFunction : public LoggedAsyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-// Implements the chrome.fileBrowserPrivate.transferFile method.
-class TransferFileFunction : public LoggedAsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.transferFile",
- FILEBROWSERPRIVATE_TRANSFERFILE)
-
- TransferFileFunction();
-
- protected:
- virtual ~TransferFileFunction();
-
- // AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
-
- private:
- // Helper callback for handling response from FileSystem::TransferFile().
- void OnTransferCompleted(drive::FileError error);
-};
-
class SearchDriveFunction : public LoggedAsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.searchDrive",

Powered by Google App Engine
This is Rietveld 408576698