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

Unified Diff: content/child/shared_memory_received_data_factory_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
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/shared_memory_received_data_factory_unittest.cc
diff --git a/content/child/shared_memory_received_data_factory_unittest.cc b/content/child/shared_memory_received_data_factory_unittest.cc
index 05b6bed7ee8e74f502d9d56c466475da412165dc..ce0b890c8182e23d379e89d6565efe2478fceca7 100644
--- a/content/child/shared_memory_received_data_factory_unittest.cc
+++ b/content/child/shared_memory_received_data_factory_unittest.cc
@@ -5,8 +5,8 @@
#include "content/child/shared_memory_received_data_factory.h"
#include <stddef.h>
+#include <tuple>
-#include "base/tuple.h"
#include "content/common/resource_messages.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_sender.h"
@@ -31,9 +31,9 @@ class MockSender : public IPC::Sender {
bool Send(IPC::Message* message) override {
bool result = false;
if (message->type() == ResourceHostMsg_DataReceived_ACK::ID) {
- base::Tuple<int> args;
+ std::tuple<int> args;
ResourceHostMsg_DataReceived_ACK::Read(message, &args);
- result = SendAck(base::get<0>(args));
+ result = SendAck(std::get<0>(args));
} else {
result = SendOtherwise(message);
}
« no previous file with comments | « content/child/resource_dispatcher_unittest.cc ('k') | content/public/test/browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698