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

Unified Diff: content/browser/download/download_file_unittest.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/browser/download/download_file_impl.h ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index 40f4fadb4398aea4c14e55888c523e448e66ccd3..dbf0fe38e8b114addc038bd99b9626b8ac3320a7 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -87,8 +87,7 @@ class TestDownloadFileImpl : public DownloadFileImpl {
observer) {}
protected:
- virtual base::TimeDelta GetRetryDelayForFailedRename(
- int attempt_count) override {
+ base::TimeDelta GetRetryDelayForFailedRename(int attempt_count) override {
return base::TimeDelta::FromMilliseconds(0);
}
@@ -96,8 +95,7 @@ class TestDownloadFileImpl : public DownloadFileImpl {
// On Posix, we don't encounter transient errors during renames, except
// possibly EAGAIN, which is difficult to replicate reliably. So we resort to
// simulating a transient error using ACCESS_DENIED instead.
- virtual bool ShouldRetryFailedRename(
- DownloadInterruptReason reason) override {
+ bool ShouldRetryFailedRename(DownloadInterruptReason reason) override {
return reason == DOWNLOAD_INTERRUPT_REASON_FILE_ACCESS_DENIED;
}
#endif
« no previous file with comments | « content/browser/download/download_file_impl.h ('k') | content/browser/download/download_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698