summaryrefslogtreecommitdiffstats
path: root/chromium/net/quic/crypto/local_strike_register_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/quic/crypto/local_strike_register_client.h')
-rw-r--r--chromium/net/quic/crypto/local_strike_register_client.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/net/quic/crypto/local_strike_register_client.h b/chromium/net/quic/crypto/local_strike_register_client.h
index 37020b7b420..fe8ae93d3f4 100644
--- a/chromium/net/quic/crypto/local_strike_register_client.h
+++ b/chromium/net/quic/crypto/local_strike_register_client.h
@@ -5,6 +5,7 @@
#ifndef NET_QUIC_CRYPTO_LOCAL_STRIKE_REGISTER_CLIENT_H_
#define NET_QUIC_CRYPTO_LOCAL_STRIKE_REGISTER_CLIENT_H_
+#include "base/basictypes.h"
#include "base/strings/string_piece.h"
#include "base/synchronization/lock.h"
#include "net/base/net_export.h"
@@ -25,13 +26,13 @@ class NET_EXPORT_PRIVATE LocalStrikeRegisterClient
const uint8 orbit[8],
StrikeRegister::StartupType startup);
- virtual std::string orbit() OVERRIDE;
+ virtual bool IsKnownOrbit(base::StringPiece orbit) const OVERRIDE;
virtual void VerifyNonceIsValidAndUnique(base::StringPiece nonce,
QuicWallTime now,
ResultCallback* cb) OVERRIDE;
private:
- base::Lock m_;
+ mutable base::Lock m_;
StrikeRegister strike_register_;
DISALLOW_COPY_AND_ASSIGN(LocalStrikeRegisterClient);