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

Unified Diff: chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (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: chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc
diff --git a/chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc b/chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc
index 243048f146a0ef566fc43097791f56372bb1f6c2..dbb0aa5c2a4638be148c008eb594728ea5cf94a8 100644
--- a/chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc
+++ b/chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc
@@ -27,9 +27,8 @@ class FakeEventRouter : public extensions::EventRouter {
public:
explicit FakeEventRouter(Profile* profile) : EventRouter(profile, NULL) {}
- virtual void DispatchEventToExtension(
- const std::string& extension_id,
- scoped_ptr<extensions::Event> event) override {
+ void DispatchEventToExtension(const std::string& extension_id,
+ scoped_ptr<extensions::Event> event) override {
// Do nothing with the event as no tests currently care.
}
};
@@ -42,9 +41,7 @@ class FakeExtensionSystem : public extensions::TestExtensionSystem {
fake_event_router_.reset(new FakeEventRouter(profile));
}
- virtual EventRouter* event_router() override {
- return fake_event_router_.get();
- }
+ EventRouter* event_router() override { return fake_event_router_.get(); }
private:
scoped_ptr<FakeEventRouter> fake_event_router_;

Powered by Google App Engine
This is Rietveld 408576698