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

Unified Diff: net/quic/core/crypto/local_strike_register_client.h

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 years, 9 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 | « net/quic/core/crypto/key_exchange.h ('k') | net/quic/core/crypto/local_strike_register_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/local_strike_register_client.h
diff --git a/net/quic/core/crypto/local_strike_register_client.h b/net/quic/core/crypto/local_strike_register_client.h
index 2679bc2f66d09169a65beffebb870c3f55b41603..315c415d44d59dc36a564f54b37e7780e2dee8e0 100644
--- a/net/quic/core/crypto/local_strike_register_client.h
+++ b/net/quic/core/crypto/local_strike_register_client.h
@@ -8,12 +8,12 @@
#include <cstdint>
#include "base/macros.h"
-#include "base/strings/string_piece.h"
#include "net/quic/core/crypto/strike_register.h"
#include "net/quic/core/crypto/strike_register_client.h"
#include "net/quic/core/quic_time.h"
#include "net/quic/platform/api/quic_export.h"
#include "net/quic/platform/api/quic_mutex.h"
+#include "net/quic/platform/api/quic_string_piece.h"
namespace net {
@@ -28,8 +28,8 @@ class QUIC_EXPORT_PRIVATE LocalStrikeRegisterClient
const uint8_t orbit[8],
StrikeRegister::StartupType startup);
- bool IsKnownOrbit(base::StringPiece orbit) const override;
- void VerifyNonceIsValidAndUnique(base::StringPiece nonce,
+ bool IsKnownOrbit(QuicStringPiece orbit) const override;
+ void VerifyNonceIsValidAndUnique(QuicStringPiece nonce,
QuicWallTime now,
ResultCallback* cb) override;
« no previous file with comments | « net/quic/core/crypto/key_exchange.h ('k') | net/quic/core/crypto/local_strike_register_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698