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

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

Issue 257333002: Drive extension functions from ExtensionFunction::Run. The (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 8 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 f666c90398972bac24a4f7b17f6b6d5dee188ea4..b3eec926c2a7c2011d899ef9258ba03524c55a57 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_drive.h
@@ -41,7 +41,7 @@ class FileBrowserPrivateGetDriveEntryPropertiesFunction
virtual ~FileBrowserPrivateGetDriveEntryPropertiesFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
void CompleteGetFileProperties(drive::FileError error);
@@ -62,10 +62,10 @@ class FileBrowserPrivatePinDriveFileFunction
virtual ~FileBrowserPrivatePinDriveFileFunction() {}
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
- // Callback for RunImpl().
+ // Callback for RunAsync().
void OnPinStateSet(drive::FileError error);
};
@@ -89,7 +89,7 @@ class FileBrowserPrivateGetDriveFilesFunction
virtual ~FileBrowserPrivateGetDriveFilesFunction();
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Gets the file on the top of the |remaining_drive_paths_| or sends the
@@ -117,7 +117,7 @@ class FileBrowserPrivateCancelFileTransfersFunction
virtual ~FileBrowserPrivateCancelFileTransfersFunction() {}
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
};
class FileBrowserPrivateSearchDriveFunction
@@ -131,7 +131,7 @@ class FileBrowserPrivateSearchDriveFunction
protected:
virtual ~FileBrowserPrivateSearchDriveFunction() {}
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Callback for Search().
@@ -159,7 +159,7 @@ class FileBrowserPrivateSearchDriveMetadataFunction
protected:
virtual ~FileBrowserPrivateSearchDriveMetadataFunction() {}
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Callback for SearchMetadata();
@@ -199,7 +199,7 @@ class FileBrowserPrivateRequestAccessTokenFunction
virtual ~FileBrowserPrivateRequestAccessTokenFunction() {}
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
// Callback with a cached auth token (if available) or a fetched one.
void OnAccessTokenFetched(google_apis::GDataErrorCode code,
@@ -217,7 +217,7 @@ class FileBrowserPrivateGetShareUrlFunction
virtual ~FileBrowserPrivateGetShareUrlFunction() {}
// AsyncExtensionFunction overrides.
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
// Callback with an url to the sharing dialog as |share_url|, called by
// FileSystem::GetShareUrl.
@@ -233,7 +233,7 @@ class FileBrowserPrivateRequestDriveShareFunction
protected:
virtual ~FileBrowserPrivateRequestDriveShareFunction() {}
- virtual bool RunImpl() OVERRIDE;
+ virtual bool RunAsync() OVERRIDE;
private:
// Called back after the drive file system operation is finished.

Powered by Google App Engine
This is Rietveld 408576698