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

Unified Diff: content/browser/service_worker/service_worker_job_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/service_worker/service_worker_job_unittest.cc
diff --git a/content/browser/service_worker/service_worker_job_unittest.cc b/content/browser/service_worker/service_worker_job_unittest.cc
index 62a5d21b9c11e504bcced0532f07921cbb2bec73..51cea6bcdd9f6090826570efb19a90ab3e882056 100644
--- a/content/browser/service_worker/service_worker_job_unittest.cc
+++ b/content/browser/service_worker/service_worker_job_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <stdint.h>
+#include <tuple>
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
@@ -1591,7 +1592,7 @@ TEST_F(ServiceWorkerJobTest, Update_PauseAfterDownload) {
ASSERT_TRUE(start_msg);
EmbeddedWorkerMsg_StartWorker::Param param;
EmbeddedWorkerMsg_StartWorker::Read(start_msg, &param);
- EmbeddedWorkerMsg_StartWorker_Params start_params = base::get<0>(param);
+ EmbeddedWorkerMsg_StartWorker_Params start_params = std::get<0>(param);
EXPECT_FALSE(start_params.pause_after_download);
sink->ClearMessages();
}
@@ -1606,7 +1607,7 @@ TEST_F(ServiceWorkerJobTest, Update_PauseAfterDownload) {
ASSERT_TRUE(start_msg);
EmbeddedWorkerMsg_StartWorker::Param param;
EmbeddedWorkerMsg_StartWorker::Read(start_msg, &param);
- EmbeddedWorkerMsg_StartWorker_Params start_params = base::get<0>(param);
+ EmbeddedWorkerMsg_StartWorker_Params start_params = std::get<0>(param);
EXPECT_TRUE(start_params.pause_after_download);
sink->ClearMessages();
}

Powered by Google App Engine
This is Rietveld 408576698