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

Unified Diff: net/quic/core/crypto/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/quic_encrypter.h ('k') | net/quic/core/frames/quic_ack_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/strike_register_client.h
diff --git a/net/quic/core/crypto/strike_register_client.h b/net/quic/core/crypto/strike_register_client.h
index c8cc409b53f046973efd4eedf65b0cb7dece00b9..06291ae4baae0aea5068a392f7f035e8a9d2ba96 100644
--- a/net/quic/core/crypto/strike_register_client.h
+++ b/net/quic/core/crypto/strike_register_client.h
@@ -8,10 +8,10 @@
#include <string>
#include "base/macros.h"
-#include "base/strings/string_piece.h"
#include "net/quic/core/crypto/strike_register.h"
#include "net/quic/core/quic_time.h"
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_string_piece.h"
namespace net {
@@ -42,12 +42,12 @@ class QUIC_EXPORT_PRIVATE StrikeRegisterClient {
virtual ~StrikeRegisterClient() {}
// Returns true iff the strike register knows about the given orbit.
- virtual bool IsKnownOrbit(base::StringPiece orbit) const = 0;
+ virtual bool IsKnownOrbit(QuicStringPiece orbit) const = 0;
// Validate a nonce for freshness and uniqueness.
// Will invoke cb->Run(ValidateResponse::nonce_is_valid_and_unique(),
// ValidateResponse::nonce_error())
// once the asynchronous operation is complete.
- virtual void VerifyNonceIsValidAndUnique(base::StringPiece nonce,
+ virtual void VerifyNonceIsValidAndUnique(QuicStringPiece nonce,
QuicWallTime now,
ResultCallback* cb) = 0;
« no previous file with comments | « net/quic/core/crypto/quic_encrypter.h ('k') | net/quic/core/frames/quic_ack_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698