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

Unified Diff: content/browser/renderer_host/p2p/socket_host_test_utils.h

Issue 2023243002: Remove base::Tuple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint fix Created 4 years, 6 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: content/browser/renderer_host/p2p/socket_host_test_utils.h
diff --git a/content/browser/renderer_host/p2p/socket_host_test_utils.h b/content/browser/renderer_host/p2p/socket_host_test_utils.h
index f1a60cc72a6cae8713b2d1b72f7c1e612c29a3be..e90fdb78a24d6e4800a877a4ec8fd3aaf4a0a932 100644
--- a/content/browser/renderer_host/p2p/socket_host_test_utils.h
+++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <tuple>
#include <vector>
#include "content/common/p2p_messages.h"
@@ -108,7 +109,7 @@ MATCHER_P(MatchPacketMessage, packet_content, "") {
return false;
P2PMsg_OnDataReceived::Param params;
P2PMsg_OnDataReceived::Read(arg, &params);
- return base::get<2>(params) == packet_content;
+ return std::get<2>(params) == packet_content;
}
MATCHER_P(MatchIncomingSocketMessage, address, "") {
@@ -117,7 +118,7 @@ MATCHER_P(MatchIncomingSocketMessage, address, "") {
P2PMsg_OnIncomingTcpConnection::Param params;
P2PMsg_OnIncomingTcpConnection::Read(
arg, &params);
- return base::get<1>(params) == address;
+ return std::get<1>(params) == address;
}
#endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698