17 #ifndef PAGESPEED_KERNEL_UTIL_MOCK_NONCE_GENERATOR_H_
18 #define PAGESPEED_KERNEL_UTIL_MOCK_NONCE_GENERATOR_H_
25 namespace net_instaweb {
virtual uint64 NewNonceImpl()
Subclasses must implement this method. Locking is already handled.
Abstract interface for implementing a mutex.
Definition: abstract_mutex.h:28
A nonce generator that simply yields successive integers starting from 0.
Definition: mock_nonce_generator.h:28
Definition: nonce_generator.h:28
NonceGenerator(AbstractMutex *mutex)
Takes ownership of mutex.
Definition: nonce_generator.h:36