summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 21:21:57 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 21:21:57 +0000
commit996549b018861c5b85ae278191c2cd2223c12169 (patch)
tree3f6d190bde383fa41fd01bb89011b9f1fbb96e02 /base/process_util.h
parent4fc77b95e324c437a0be79a3d4244eddac9f36e3 (diff)
downloadchromium_src-996549b018861c5b85ae278191c2cd2223c12169.zip
chromium_src-996549b018861c5b85ae278191c2cd2223c12169.tar.gz
chromium_src-996549b018861c5b85ae278191c2cd2223c12169.tar.bz2
Add a virtual destructor; get rid of gcc warnings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/process_util.h b/base/process_util.h
index defa561..d042325 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -87,6 +87,7 @@ class ProcessFilter {
// Returns true to indicate set-inclusion and false otherwise. This method
// should not have side-effects and should be idempotent.
virtual bool Includes(uint32 pid, uint32 parent_pid) const = 0;
+ virtual ~ProcessFilter() {}
};
// Returns the number of processes on the machine that are running from the