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

Unified Diff: ppapi/proxy/websocket_resource_unittest.cc

Issue 1772763002: Replace base::Tuple in //ppapi with std::tuple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update #include Created 4 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 | « ppapi/proxy/resource_message_test_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/websocket_resource_unittest.cc
diff --git a/ppapi/proxy/websocket_resource_unittest.cc b/ppapi/proxy/websocket_resource_unittest.cc
index 9df1308b4f6784412ad129c644f27a2925e11cf1..d6dfd823031250bc297a317a356b52c5691c7b12 100644
--- a/ppapi/proxy/websocket_resource_unittest.cc
+++ b/ppapi/proxy/websocket_resource_unittest.cc
@@ -4,6 +4,8 @@
#include <stdint.h>
+#include <tuple>
+
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "ppapi/c/pp_errors.h"
@@ -80,9 +82,9 @@ TEST_F(WebSocketResourceTest, Connect) {
PpapiHostMsg_WebSocket_Connect::ID, &params, &msg));
PpapiHostMsg_WebSocket_Connect::Schema::Param p;
PpapiHostMsg_WebSocket_Connect::Read(&msg, &p);
- EXPECT_EQ(url, base::get<0>(p));
- EXPECT_EQ(protocol0, base::get<1>(p)[0]);
- EXPECT_EQ(protocol1, base::get<1>(p)[1]);
+ EXPECT_EQ(url, std::get<0>(p));
+ EXPECT_EQ(protocol0, std::get<1>(p)[0]);
+ EXPECT_EQ(protocol1, std::get<1>(p)[1]);
// Synthesize a response.
ResourceMessageReplyParams reply_params(params.pp_resource(),
« no previous file with comments | « ppapi/proxy/resource_message_test_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698