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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate_unittest.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/download/chrome_download_manager_delegate_unittest.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
index fdda63684752fb518b5f62c9a9a45ba123bd6006..913612e244410d24faf469ba38980fe12f298557 100644
--- a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
@@ -74,22 +74,21 @@ class TestChromeDownloadManagerDelegate : public ChromeDownloadManagerDelegate {
: ChromeDownloadManagerDelegate(profile) {
}
- virtual ~TestChromeDownloadManagerDelegate() {}
+ ~TestChromeDownloadManagerDelegate() override {}
- virtual safe_browsing::DownloadProtectionService*
+ safe_browsing::DownloadProtectionService*
GetDownloadProtectionService() override {
return NULL;
}
- virtual void NotifyExtensions(
- content::DownloadItem* download,
- const base::FilePath& suggested_virtual_path,
- const NotifyExtensionsCallback& callback) override {
+ void NotifyExtensions(content::DownloadItem* download,
+ const base::FilePath& suggested_virtual_path,
+ const NotifyExtensionsCallback& callback) override {
callback.Run(base::FilePath(),
DownloadPathReservationTracker::UNIQUIFY);
}
- virtual void ReserveVirtualPath(
+ void ReserveVirtualPath(
content::DownloadItem* download,
const base::FilePath& virtual_path,
bool create_directory,
@@ -102,7 +101,7 @@ class TestChromeDownloadManagerDelegate : public ChromeDownloadManagerDelegate {
FROM_HERE, base::Bind(callback, virtual_path, true));
}
- virtual void PromptUserForDownloadPath(
+ void PromptUserForDownloadPath(
DownloadItem* download,
const base::FilePath& suggested_path,
const DownloadTargetDeterminerDelegate::FileSelectedCallback& callback)
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_browsertest.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698