summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 02:24:12 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 02:24:12 +0000
commit4209190e35b11413ede67daf3401ca248ec29291 (patch)
treedc5997197f0808ef86ea7a2acf63984a450a9bc4 /webkit
parent40592fcdedb0486f3b4cbdd36b251d80e6be40a2 (diff)
downloadchromium_src-4209190e35b11413ede67daf3401ca248ec29291.zip
chromium_src-4209190e35b11413ede67daf3401ca248ec29291.tar.gz
chromium_src-4209190e35b11413ede67daf3401ca248ec29291.tar.bz2
Warn on missing OVERRIDE/virtual everywhere, not just in header files.
This is only enabled for Linux (so far). BUG=115047 Review URL: https://chromiumcodereview.appspot.com/14696007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/fileapi/copy_or_move_file_validator_unittest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/fileapi/copy_or_move_file_validator_unittest.cc b/webkit/fileapi/copy_or_move_file_validator_unittest.cc
index d33ad6a..505b2aa 100644
--- a/webkit/fileapi/copy_or_move_file_validator_unittest.cc
+++ b/webkit/fileapi/copy_or_move_file_validator_unittest.cc
@@ -178,7 +178,7 @@ class TestCopyOrMoveFileValidatorFactory
virtual CopyOrMoveFileValidator* CreateCopyOrMoveFileValidator(
const FileSystemURL& /*src_url*/,
- const base::FilePath& /*platform_path*/) {
+ const base::FilePath& /*platform_path*/) OVERRIDE {
return new TestCopyOrMoveFileValidator(all_valid_);
}
@@ -191,7 +191,8 @@ class TestCopyOrMoveFileValidatorFactory
}
virtual ~TestCopyOrMoveFileValidator() {}
- virtual void StartValidation(const ResultCallback& result_callback) {
+ virtual void StartValidation(
+ const ResultCallback& result_callback) OVERRIDE {
// Post the result since a real validator must do work asynchronously.
MessageLoop::current()->PostTask(FROM_HERE, base::Bind(result_callback,
result_));