summaryrefslogtreecommitdiffstats
path: root/base/files
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 07:20:55 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-07 07:20:55 +0000
commitd5b69d9ff645cd71bc03a8ea6368426b7e3326e9 (patch)
tree066f7470a1b5491d75e6badddc41cde2797f5fb9 /base/files
parent8a920397a83712b0a34d25502130a316897915eb (diff)
downloadchromium_src-d5b69d9ff645cd71bc03a8ea6368426b7e3326e9.zip
chromium_src-d5b69d9ff645cd71bc03a8ea6368426b7e3326e9.tar.gz
chromium_src-d5b69d9ff645cd71bc03a8ea6368426b7e3326e9.tar.bz2
Linux/ChromeOS Chromium style checker cleanup, base/ edition.
Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12236004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/files')
-rw-r--r--base/files/file_path_watcher_browsertest.cc4
-rw-r--r--base/files/important_file_writer_unittest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/base/files/file_path_watcher_browsertest.cc b/base/files/file_path_watcher_browsertest.cc
index 4f0cb27..9129d91 100644
--- a/base/files/file_path_watcher_browsertest.cc
+++ b/base/files/file_path_watcher_browsertest.cc
@@ -111,7 +111,7 @@ class TestDelegate : public TestDelegateBase {
: collector_(collector) {
collector_->Register(this);
}
- ~TestDelegate() {}
+ virtual ~TestDelegate() {}
virtual void OnFileChanged(const FilePath& path, bool error) OVERRIDE {
if (error)
@@ -287,7 +287,7 @@ class Deleter : public TestDelegateBase {
: watcher_(watcher),
loop_(loop) {
}
- ~Deleter() {}
+ virtual ~Deleter() {}
virtual void OnFileChanged(const FilePath&, bool) OVERRIDE {
watcher_.reset();
diff --git a/base/files/important_file_writer_unittest.cc b/base/files/important_file_writer_unittest.cc
index 65da814..53c642b 100644
--- a/base/files/important_file_writer_unittest.cc
+++ b/base/files/important_file_writer_unittest.cc
@@ -32,7 +32,7 @@ class DataSerializer : public ImportantFileWriter::DataSerializer {
explicit DataSerializer(const std::string& data) : data_(data) {
}
- virtual bool SerializeData(std::string* output) {
+ virtual bool SerializeData(std::string* output) OVERRIDE {
output->assign(data_);
return true;
}