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

Unified Diff: components/autofill/content/browser/content_autofill_driver_unittest.cc

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/autofill/content/browser/content_autofill_driver_unittest.cc
diff --git a/components/autofill/content/browser/content_autofill_driver_unittest.cc b/components/autofill/content/browser/content_autofill_driver_unittest.cc
index c37633265f82e3afbc951886681cd25c889fe42b..31ffba8b15d569ff8e0a7682bb13eadc9f0b5019 100644
--- a/components/autofill/content/browser/content_autofill_driver_unittest.cc
+++ b/components/autofill/content/browser/content_autofill_driver_unittest.cc
@@ -91,13 +91,13 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
- Tuple<int, FormData> autofill_param;
+ base::Tuple<int, FormData> autofill_param;
if (!AutofillMsg_FillForm::Read(message, &autofill_param))
return false;
if (page_id)
- *page_id = get<0>(autofill_param);
+ *page_id = base::get<0>(autofill_param);
if (results)
- *results = get<1>(autofill_param);
+ *results = base::get<1>(autofill_param);
process()->sink().ClearMessages();
return true;
}
@@ -112,13 +112,13 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
- Tuple<int, FormData> autofill_param;
+ base::Tuple<int, FormData> autofill_param;
if (!AutofillMsg_PreviewForm::Read(message, &autofill_param))
return false;
if (page_id)
- *page_id = get<0>(autofill_param);
+ *page_id = base::get<0>(autofill_param);
if (results)
- *results = get<1>(autofill_param);
+ *results = base::get<1>(autofill_param);
process()->sink().ClearMessages();
return true;
}
@@ -135,12 +135,12 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
process()->sink().GetFirstMessageMatching(kMsgID);
if (!message)
return false;
- Tuple<std::vector<FormDataPredictions> > autofill_param;
+ base::Tuple<std::vector<FormDataPredictions> > autofill_param;
if (!AutofillMsg_FieldTypePredictionsAvailable::Read(message,
&autofill_param))
return false;
if (predictions)
- *predictions = get<0>(autofill_param);
+ *predictions = base::get<0>(autofill_param);
process()->sink().ClearMessages();
return true;
@@ -155,7 +155,7 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
process()->sink().GetFirstMessageMatching(messageID);
if (!message)
return false;
- Tuple<base::string16> autofill_param;
+ base::Tuple<base::string16> autofill_param;
switch (messageID) {
case AutofillMsg_FillFieldWithValue::ID:
if (!AutofillMsg_FillFieldWithValue::Read(message, &autofill_param))
@@ -174,7 +174,7 @@ class ContentAutofillDriverTest : public content::RenderViewHostTestHarness {
NOTREACHED();
}
if (value)
- *value = get<0>(autofill_param);
+ *value = base::get<0>(autofill_param);
process()->sink().ClearMessages();
return true;
}
« no previous file with comments | « chrome/utility/shell_handler_win.h ('k') | components/autofill/content/browser/request_autocomplete_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698