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

Unified Diff: chrome/browser/undo/undo_manager_test.cc

Issue 648653003: Standardize usage of virtual/override/final in chrome/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 | « chrome/browser/undo/bookmark_undo_service_factory.h ('k') | chrome/browser/unload_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/undo/undo_manager_test.cc
diff --git a/chrome/browser/undo/undo_manager_test.cc b/chrome/browser/undo/undo_manager_test.cc
index 1a4b5ac73c63e862fc3e9b3673c857d81541869e..013b6214fe8831316cae73caf1c1da931be70b2d 100644
--- a/chrome/browser/undo/undo_manager_test.cc
+++ b/chrome/browser/undo/undo_manager_test.cc
@@ -36,12 +36,12 @@ class TestUndoService {
class TestUndoOperation : public UndoOperation {
public:
explicit TestUndoOperation(TestUndoService* undo_service);
- virtual ~TestUndoOperation();
+ ~TestUndoOperation() override;
// UndoOperation:
- virtual void Undo() override;
- virtual int GetUndoLabelId() const override;
- virtual int GetRedoLabelId() const override;
+ void Undo() override;
+ int GetUndoLabelId() const override;
+ int GetRedoLabelId() const override;
private:
TestUndoService* undo_service_;
@@ -103,7 +103,7 @@ class TestObserver : public UndoManagerObserver {
// Returns the number of state change callbacks
int state_change_count() { return state_change_count_; }
- virtual void OnUndoManagerStateChange() override { ++state_change_count_; }
+ void OnUndoManagerStateChange() override { ++state_change_count_; }
private:
int state_change_count_;
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service_factory.h ('k') | chrome/browser/unload_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698