Mark some destructors as virtual.

Since the classes have virtual functions.

BUG=none

Review URL: https://codereview.chromium.org/497213002

Cr-Commit-Position: refs/heads/master@{#291510}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291510 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/components/rappor/byte_vector_utils.h b/components/rappor/byte_vector_utils.h
index 2f2d8c0..3f8eb27 100644
--- a/components/rappor/byte_vector_utils.h
+++ b/components/rappor/byte_vector_utils.h
@@ -43,7 +43,7 @@
  public:
   explicit ByteVectorGenerator(size_t byte_count);
 
-  ~ByteVectorGenerator();
+  virtual ~ByteVectorGenerator();
 
   // Generates a random byte vector where the bits are independent random
   // variables which are true with the given |probability|.
@@ -80,7 +80,7 @@
                           const std::string& entropy_input,
                           const std::string& personalization_string);
 
-  ~HmacByteVectorGenerator();
+  virtual ~HmacByteVectorGenerator();
 
   // Generates a random string suitable for passing to the constructor as
   // |entropy_input|.