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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc

Issue 1767343004: Replace base::Tuple in //chrome with std::tuple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/typedef/using/ 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
Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
index 0438fd75e6dce1d088a47d4ba354ac8d670f5cc9..f025b295859823dee2aacaf73cf34f823e37e9de 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/safe_browsing/client_side_detection_host.h"
+#include <tuple>
#include <utility>
#include "base/files/file_path.h"
@@ -329,9 +330,9 @@ class ClientSideDetectionHostTest : public ChromeRenderViewHostTestHarness {
SafeBrowsingMsg_StartPhishingDetection::ID);
if (url) {
ASSERT_TRUE(msg);
- base::Tuple<GURL> actual_url;
+ std::tuple<GURL> actual_url;
SafeBrowsingMsg_StartPhishingDetection::Read(msg, &actual_url);
- EXPECT_EQ(*url, base::get<0>(actual_url));
+ EXPECT_EQ(*url, std::get<0>(actual_url));
EXPECT_EQ(main_rfh()->GetRoutingID(), msg->routing_id());
process()->sink().ClearMessages();
} else {

Powered by Google App Engine
This is Rietveld 408576698