summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api_test_utils.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:38:24 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:38:39 +0000
commit9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch)
treebb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/api_test_utils.cc
parentae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff)
downloadchromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/664933004 Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/api_test_utils.cc')
-rw-r--r--extensions/browser/api_test_utils.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/browser/api_test_utils.cc b/extensions/browser/api_test_utils.cc
index 4496dcb..23c0efe 100644
--- a/extensions/browser/api_test_utils.cc
+++ b/extensions/browser/api_test_utils.cc
@@ -22,7 +22,7 @@ class TestFunctionDispatcherDelegate
: public ExtensionFunctionDispatcher::Delegate {
public:
TestFunctionDispatcherDelegate() {}
- virtual ~TestFunctionDispatcherDelegate() {}
+ ~TestFunctionDispatcherDelegate() override {}
// NULL implementation.
private:
@@ -60,9 +60,9 @@ class SendResponseDelegate
return *response_.get();
}
- virtual void OnSendResponse(UIThreadExtensionFunction* function,
- bool success,
- bool bad_message) override {
+ void OnSendResponse(UIThreadExtensionFunction* function,
+ bool success,
+ bool bad_message) override {
ASSERT_FALSE(bad_message);
ASSERT_FALSE(HasResponse());
response_.reset(new bool);