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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client_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/password_manager/chrome_password_manager_client_unittest.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
index 4989deb36454a1113af6bb2d56d4b6cb2a112bfe..d1f0ff6fee8a11d864fae8dcde3dbc1e699b9d12 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
@@ -7,6 +7,7 @@
#include <stdint.h>
#include <string>
+#include <tuple>
#include "base/command_line.h"
#include "base/macros.h"
@@ -130,9 +131,9 @@ bool ChromePasswordManagerClientTest::WasLoggingActivationMessageSent(
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
- base::Tuple<bool> param;
+ std::tuple<bool> param;
AutofillMsg_SetLoggingState::Read(message, &param);
- *activation_flag = base::get<0>(param);
+ *activation_flag = std::get<0>(param);
process()->sink().ClearMessages();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698