Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
net_instaweb::MockNonceGenerator Class Reference

A nonce generator that simply yields successive integers starting from 0. More...

#include "mock_nonce_generator.h"

Inheritance diagram for net_instaweb::MockNonceGenerator:
net_instaweb::NonceGenerator

Public Member Functions

 MockNonceGenerator (AbstractMutex *mutex)
 
- Public Member Functions inherited from net_instaweb::NonceGenerator
uint64 NewNonce ()
 Generate a fresh, ideally cryptographic, nonce. Thread-safe.
 

Protected Member Functions

virtual uint64 NewNonceImpl ()
 Subclasses must implement this method. Locking is already handled.
 
- Protected Member Functions inherited from net_instaweb::NonceGenerator
 NonceGenerator (AbstractMutex *mutex)
 Takes ownership of mutex.
 

Detailed Description

A nonce generator that simply yields successive integers starting from 0.


The documentation for this class was generated from the following file: