Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: components/rappor/byte_vector_utils.h

Issue 497213002: Mark some destructors as virtual. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/byte_vector_utils.h
===================================================================
--- components/rappor/byte_vector_utils.h (revision 290841)
+++ components/rappor/byte_vector_utils.h (working copy)
@@ -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|.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698