diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-25 00:42:51 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-25 00:42:51 +0000 |
commit | a9aaa9d16ba4bfc0a1e765d349cae8470301749e (patch) | |
tree | 4226196cc74eb37c1c408ca6b28bed5d1fab34e7 /base/files/file_path_watcher_stub.cc | |
parent | 8c81e9eccca97e2de13c8a5fe3059f238492a066 (diff) | |
download | chromium_src-a9aaa9d16ba4bfc0a1e765d349cae8470301749e.zip chromium_src-a9aaa9d16ba4bfc0a1e765d349cae8470301749e.tar.gz chromium_src-a9aaa9d16ba4bfc0a1e765d349cae8470301749e.tar.bz2 |
RefCounted types should not have public destructors, base/ edition
BUG=123295
TEST=none
Review URL: http://codereview.chromium.org/10065037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133825 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/files/file_path_watcher_stub.cc')
-rw-r--r-- | base/files/file_path_watcher_stub.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/files/file_path_watcher_stub.cc b/base/files/file_path_watcher_stub.cc index 6c49101..d91c1a7 100644 --- a/base/files/file_path_watcher_stub.cc +++ b/base/files/file_path_watcher_stub.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -22,6 +22,9 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { virtual void Cancel() OVERRIDE {} virtual void CancelOnMessageLoopThread() OVERRIDE {} + + protected: + virtual ~FilePathWatcherImpl() {} }; } // namespace |