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

Unified Diff: net/quic/platform/impl/quic_string_piece_impl.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/platform/impl/quic_hostname_utils_impl.cc ('k') | net/quic/platform/impl/quic_text_utils_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_string_piece_impl.h
diff --git a/net/quic/platform/impl/quic_string_piece_impl.h b/net/quic/platform/impl/quic_string_piece_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..a5bf3fd3e781d175efd04abfbf6aa906fd3ccb8b
--- /dev/null
+++ b/net/quic/platform/impl/quic_string_piece_impl.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_QUIC_PLATFORM_IMPL_QUIC_STRING_PIECE_IMPL_H_
+#define NET_QUIC_PLATFORM_IMPL_QUIC_STRING_PIECE_IMPL_H_
+
+#include "base/strings/string_piece.h"
+
+namespace net {
+
+using QuicStringPieceImpl = base::StringPiece;
+
+} // namespace net
+
+#endif // NET_QUIC_PLATFORM_IMPL_QUIC_STRING_PIECE_IMPL_H_
« no previous file with comments | « net/quic/platform/impl/quic_hostname_utils_impl.cc ('k') | net/quic/platform/impl/quic_text_utils_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698