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

Unified Diff: mojo/public/cpp/application/tests/service_registry_unittest.cc

Issue 668663006: Standardize usage of virtual/override/final in mojo/ (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 | « mojo/public/cpp/application/service_provider_impl.h ('k') | mojo/public/cpp/bindings/lib/connector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/tests/service_registry_unittest.cc
diff --git a/mojo/public/cpp/application/tests/service_registry_unittest.cc b/mojo/public/cpp/application/tests/service_registry_unittest.cc
index a0511ffe1b9d606c27236fc75d04f41ed752249f..283bf144034028e66ea2ecd1ccbad197333be5af 100644
--- a/mojo/public/cpp/application/tests/service_registry_unittest.cc
+++ b/mojo/public/cpp/application/tests/service_registry_unittest.cc
@@ -15,10 +15,9 @@ class TestConnector : public ServiceConnectorBase {
public:
TestConnector(const std::string& name, int* delete_count)
: ServiceConnectorBase(name), delete_count_(delete_count) {}
- virtual ~TestConnector() { (*delete_count_)++; }
- virtual void ConnectToService(
- const std::string& name,
- ScopedMessagePipeHandle client_handle) override {}
+ ~TestConnector() override { (*delete_count_)++; }
+ void ConnectToService(const std::string& name,
+ ScopedMessagePipeHandle client_handle) override {}
private:
int* delete_count_;
« no previous file with comments | « mojo/public/cpp/application/service_provider_impl.h ('k') | mojo/public/cpp/bindings/lib/connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698