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

Unified Diff: chrome/browser/drive/dummy_drive_service.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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
« no previous file with comments | « chrome/browser/drive/drive_uploader_unittest.cc ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/dummy_drive_service.h
diff --git a/chrome/browser/drive/dummy_drive_service.h b/chrome/browser/drive/dummy_drive_service.h
index 7724ebab9a3361815b3a38b121ef8872c6cfedfd..e01c64570af918ce8348ac40e26f58279eb72716 100644
--- a/chrome/browser/drive/dummy_drive_service.h
+++ b/chrome/browser/drive/dummy_drive_service.h
@@ -18,101 +18,101 @@ class DummyDriveService : public DriveServiceInterface {
virtual ~DummyDriveService();
// DriveServiceInterface Overrides
- virtual void Initialize(const std::string& account_id) OVERRIDE;
- virtual void AddObserver(DriveServiceObserver* observer) OVERRIDE;
- virtual void RemoveObserver(DriveServiceObserver* observer) OVERRIDE;
- virtual bool CanSendRequest() const OVERRIDE;
- virtual bool HasAccessToken() const OVERRIDE;
+ virtual void Initialize(const std::string& account_id) override;
+ virtual void AddObserver(DriveServiceObserver* observer) override;
+ virtual void RemoveObserver(DriveServiceObserver* observer) override;
+ virtual bool CanSendRequest() const override;
+ virtual bool HasAccessToken() const override;
virtual void RequestAccessToken(
- const google_apis::AuthStatusCallback& callback) OVERRIDE;
- virtual bool HasRefreshToken() const OVERRIDE;
- virtual void ClearAccessToken() OVERRIDE;
- virtual void ClearRefreshToken() OVERRIDE;
- virtual std::string GetRootResourceId() const OVERRIDE;
+ const google_apis::AuthStatusCallback& callback) override;
+ virtual bool HasRefreshToken() const override;
+ virtual void ClearAccessToken() override;
+ virtual void ClearRefreshToken() override;
+ virtual std::string GetRootResourceId() const override;
virtual google_apis::CancelCallback GetAllFileList(
- const google_apis::FileListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) override;
virtual google_apis::CancelCallback GetFileListInDirectory(
const std::string& directory_resource_id,
- const google_apis::FileListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) override;
virtual google_apis::CancelCallback Search(
const std::string& search_query,
- const google_apis::FileListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) override;
virtual google_apis::CancelCallback SearchByTitle(
const std::string& title,
const std::string& directory_resource_id,
- const google_apis::FileListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) override;
virtual google_apis::CancelCallback GetChangeList(
int64 start_changestamp,
- const google_apis::ChangeListCallback& callback) OVERRIDE;
+ const google_apis::ChangeListCallback& callback) override;
virtual google_apis::CancelCallback GetRemainingChangeList(
const GURL& next_link,
- const google_apis::ChangeListCallback& callback) OVERRIDE;
+ const google_apis::ChangeListCallback& callback) override;
virtual google_apis::CancelCallback GetRemainingFileList(
const GURL& next_link,
- const google_apis::FileListCallback& callback) OVERRIDE;
+ const google_apis::FileListCallback& callback) override;
virtual google_apis::CancelCallback GetFileResource(
const std::string& resource_id,
- const google_apis::FileResourceCallback& callback) OVERRIDE;
+ const google_apis::FileResourceCallback& callback) override;
virtual google_apis::CancelCallback GetShareUrl(
const std::string& resource_id,
const GURL& embed_origin,
- const google_apis::GetShareUrlCallback& callback) OVERRIDE;
+ const google_apis::GetShareUrlCallback& callback) override;
virtual google_apis::CancelCallback GetAboutResource(
- const google_apis::AboutResourceCallback& callback) OVERRIDE;
+ const google_apis::AboutResourceCallback& callback) override;
virtual google_apis::CancelCallback GetAppList(
- const google_apis::AppListCallback& callback) OVERRIDE;
+ const google_apis::AppListCallback& callback) override;
virtual google_apis::CancelCallback DeleteResource(
const std::string& resource_id,
const std::string& etag,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
virtual google_apis::CancelCallback TrashResource(
const std::string& resource_id,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
virtual google_apis::CancelCallback DownloadFile(
const base::FilePath& local_cache_path,
const std::string& resource_id,
const google_apis::DownloadActionCallback& download_action_callback,
const google_apis::GetContentCallback& get_content_callback,
- const google_apis::ProgressCallback& progress_callback) OVERRIDE;
+ const google_apis::ProgressCallback& progress_callback) override;
virtual google_apis::CancelCallback CopyResource(
const std::string& resource_id,
const std::string& parent_resource_id,
const std::string& new_title,
const base::Time& last_modified,
- const google_apis::FileResourceCallback& callback) OVERRIDE;
+ const google_apis::FileResourceCallback& callback) override;
virtual google_apis::CancelCallback UpdateResource(
const std::string& resource_id,
const std::string& parent_resource_id,
const std::string& new_title,
const base::Time& last_modified,
const base::Time& last_viewed_by_me,
- const google_apis::FileResourceCallback& callback) OVERRIDE;
+ const google_apis::FileResourceCallback& callback) override;
virtual google_apis::CancelCallback AddResourceToDirectory(
const std::string& parent_resource_id,
const std::string& resource_id,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
virtual google_apis::CancelCallback RemoveResourceFromDirectory(
const std::string& parent_resource_id,
const std::string& resource_id,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
virtual google_apis::CancelCallback AddNewDirectory(
const std::string& parent_resource_id,
const std::string& directory_title,
const AddNewDirectoryOptions& options,
- const google_apis::FileResourceCallback& callback) OVERRIDE;
+ const google_apis::FileResourceCallback& callback) override;
virtual google_apis::CancelCallback InitiateUploadNewFile(
const std::string& content_type,
int64 content_length,
const std::string& parent_resource_id,
const std::string& title,
const InitiateUploadNewFileOptions& options,
- const google_apis::InitiateUploadCallback& callback) OVERRIDE;
+ const google_apis::InitiateUploadCallback& callback) override;
virtual google_apis::CancelCallback InitiateUploadExistingFile(
const std::string& content_type,
int64 content_length,
const std::string& resource_id,
const InitiateUploadExistingFileOptions& options,
- const google_apis::InitiateUploadCallback& callback) OVERRIDE;
+ const google_apis::InitiateUploadCallback& callback) override;
virtual google_apis::CancelCallback ResumeUpload(
const GURL& upload_url,
int64 start_position,
@@ -121,23 +121,23 @@ class DummyDriveService : public DriveServiceInterface {
const std::string& content_type,
const base::FilePath& local_file_path,
const google_apis::drive::UploadRangeCallback& callback,
- const google_apis::ProgressCallback& progress_callback) OVERRIDE;
+ const google_apis::ProgressCallback& progress_callback) override;
virtual google_apis::CancelCallback GetUploadStatus(
const GURL& upload_url,
int64 content_length,
- const google_apis::drive::UploadRangeCallback& callback) OVERRIDE;
+ const google_apis::drive::UploadRangeCallback& callback) override;
virtual google_apis::CancelCallback AuthorizeApp(
const std::string& resource_id,
const std::string& app_id,
- const google_apis::AuthorizeAppCallback& callback) OVERRIDE;
+ const google_apis::AuthorizeAppCallback& callback) override;
virtual google_apis::CancelCallback UninstallApp(
const std::string& app_id,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
virtual google_apis::CancelCallback AddPermission(
const std::string& resource_id,
const std::string& email,
google_apis::drive::PermissionRole role,
- const google_apis::EntryActionCallback& callback) OVERRIDE;
+ const google_apis::EntryActionCallback& callback) override;
};
} // namespace drive
« no previous file with comments | « chrome/browser/drive/drive_uploader_unittest.cc ('k') | chrome/browser/drive/fake_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698