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

Unified Diff: net/quic/chromium/crypto/channel_id_chromium.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
Index: net/quic/chromium/crypto/channel_id_chromium.h
diff --git a/net/quic/chromium/crypto/channel_id_chromium.h b/net/quic/chromium/crypto/channel_id_chromium.h
index 2c9869c30b2bd25fe4695c49e8b0b5855bfd012c..31ef722c404c874352a2bb89a9809af78ccacf86 100644
--- a/net/quic/chromium/crypto/channel_id_chromium.h
+++ b/net/quic/chromium/crypto/channel_id_chromium.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "net/base/net_export.h"
#include "net/quic/core/crypto/channel_id.h"
+#include "net/quic/platform/api/quic_string_piece.h"
namespace crypto {
class ECPrivateKey;
@@ -28,7 +29,7 @@ class NET_EXPORT_PRIVATE ChannelIDKeyChromium : public ChannelIDKey {
~ChannelIDKeyChromium() override;
// ChannelIDKey interface
- bool Sign(base::StringPiece signed_data,
+ bool Sign(QuicStringPiece signed_data,
std::string* out_signature) const override;
std::string SerializeKey() const override;
« no previous file with comments | « net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/chromium/crypto/channel_id_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698