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

Unified Diff: net/quic/core/quic_utils.h

Issue 2508393002: Get rid of the unused Priority argument to QuicUtils::FindMutualTag. No behavior change. (Closed)
Patch Set: Created 4 years, 1 month 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_crypto_server_config.cc ('k') | net/quic/core/quic_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_utils.h
diff --git a/net/quic/core/quic_utils.h b/net/quic/core/quic_utils.h
index 66b338ab7513ac636b507cbf79b0bca3c9d163c9..151841cdc03c837a4f1124515dcca6ddaf60f54b 100644
--- a/net/quic/core/quic_utils.h
+++ b/net/quic/core/quic_utils.h
@@ -32,11 +32,6 @@ namespace net {
class NET_EXPORT_PRIVATE QuicUtils {
public:
- enum Priority {
- LOCAL_PRIORITY,
- PEER_PRIORITY,
- };
-
// Returns the 64 bit FNV1a hash of the data. See
// http://www.isthe.com/chongo/tech/comp/fnv/index.html#FNV-param
static uint64_t FNV1a_64_Hash(const char* data, int len);
@@ -56,14 +51,11 @@ class NET_EXPORT_PRIVATE QuicUtils {
// is also in the other list and returns true. If there is no intersection it
// returns false.
//
- // Which list has priority is determined by |priority|.
- //
// If |out_index| is non-nullptr and a match is found then the index of that
// match in |their_tags| is written to |out_index|.
static bool FindMutualTag(const QuicTagVector& our_tags,
const QuicTag* their_tags,
size_t num_their_tags,
- Priority priority,
QuicTag* out_result,
size_t* out_index);
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config.cc ('k') | net/quic/core/quic_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698