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

Unified Diff: content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc

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/media/webrtc_identity_service_host_unittest.cc
diff --git a/content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc b/content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc
index a0dc5a6fd13793685fc5c587a42be536b0d4915f..e5f0dbd04ff3c37972cebeb200f6620c0ff309ef 100644
--- a/content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc
+++ b/content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <deque>
+#include <tuple>
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/media/webrtc/webrtc_identity_store.h"
@@ -159,10 +160,10 @@ class WebRTCIdentityServiceHostTest : public ::testing::Test {
IPC::Message ipc = host_->GetLastMessage();
EXPECT_EQ(ipc.type(), WebRTCIdentityHostMsg_RequestFailed::ID);
- base::Tuple<int, int> error_in_message;
+ std::tuple<int, int> error_in_message;
WebRTCIdentityHostMsg_RequestFailed::Read(&ipc, &error_in_message);
- EXPECT_EQ(kFakeRequestId, base::get<0>(error_in_message));
- EXPECT_EQ(error, base::get<1>(error_in_message));
+ EXPECT_EQ(kFakeRequestId, std::get<0>(error_in_message));
+ EXPECT_EQ(error, std::get<1>(error_in_message));
}
void VerifyIdentityReadyMessage(const std::string& cert,
@@ -171,11 +172,11 @@ class WebRTCIdentityServiceHostTest : public ::testing::Test {
IPC::Message ipc = host_->GetLastMessage();
EXPECT_EQ(ipc.type(), WebRTCIdentityHostMsg_IdentityReady::ID);
- base::Tuple<int, std::string, std::string> identity_in_message;
+ std::tuple<int, std::string, std::string> identity_in_message;
WebRTCIdentityHostMsg_IdentityReady::Read(&ipc, &identity_in_message);
- EXPECT_EQ(kFakeRequestId, base::get<0>(identity_in_message));
- EXPECT_EQ(cert, base::get<1>(identity_in_message));
- EXPECT_EQ(key, base::get<2>(identity_in_message));
+ EXPECT_EQ(kFakeRequestId, std::get<0>(identity_in_message));
+ EXPECT_EQ(cert, std::get<1>(identity_in_message));
+ EXPECT_EQ(key, std::get<2>(identity_in_message));
}
protected:

Powered by Google App Engine
This is Rietveld 408576698