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

Unified Diff: components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
Index: components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc
diff --git a/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc b/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc
index 54fb91db7df1863556e6023d74d60e6cf8200e54..b39078edbf7fb920edcc3a5c44883214216e71d6 100644
--- a/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc
+++ b/components/navigation_interception/intercept_navigation_resource_throttle_unittest.cc
@@ -86,16 +86,16 @@ class MockResourceController : public content::ResourceController {
Status status() const { return status_; }
// ResourceController:
- virtual void Cancel() OVERRIDE {
+ virtual void Cancel() override {
NOTREACHED();
}
- virtual void CancelAndIgnore() OVERRIDE {
+ virtual void CancelAndIgnore() override {
status_ = CANCELLED;
}
- virtual void CancelWithError(int error_code) OVERRIDE {
+ virtual void CancelWithError(int error_code) override {
NOTREACHED();
}
- virtual void Resume() OVERRIDE {
+ virtual void Resume() override {
DCHECK(status_ == UNKNOWN);
status_ = RESUMED;
}
@@ -190,11 +190,11 @@ class InterceptNavigationResourceThrottleTest
io_thread_state_(NULL) {
}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
RenderViewHostTestHarness::SetUp();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
if (web_contents())
web_contents()->SetDelegate(NULL);

Powered by Google App Engine
This is Rietveld 408576698