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

Unified Diff: mojo/public/cpp/bindings/tests/wtf_types_unittest.cc

Issue 2030873002: Mojo C++ bindings: rename ArrayValidateParams for clarity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-enums
Patch Set: Rebase 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: mojo/public/cpp/bindings/tests/wtf_types_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/wtf_types_unittest.cc b/mojo/public/cpp/bindings/tests/wtf_types_unittest.cc
index 8aa4ee7a47288435cf7b66e1ad55caf1cf57e186..636366df7981fdaf05e3b099c885666c319d5847 100644
--- a/mojo/public/cpp/bindings/tests/wtf_types_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/wtf_types_unittest.cc
@@ -74,8 +74,8 @@ TEST_F(WTFTypesTest, Serialization_WTFArrayToWTFArray) {
mojo::internal::FixedBufferForTesting buf(size);
mojo::internal::Array_Data<mojo::internal::String_Data*>* data;
- mojo::internal::ArrayValidateParams validate_params(
- 0, true, new mojo::internal::ArrayValidateParams(0, false, nullptr));
+ mojo::internal::ContainerValidateParams validate_params(
+ 0, true, new mojo::internal::ContainerValidateParams(0, false, nullptr));
mojo::internal::Serialize<Array<mojo::String>>(cloned_strs, &buf, &data,
&validate_params, &context);
@@ -95,8 +95,8 @@ TEST_F(WTFTypesTest, Serialization_WTFVectorToWTFVector) {
mojo::internal::FixedBufferForTesting buf(size);
mojo::internal::Array_Data<mojo::internal::String_Data*>* data;
- mojo::internal::ArrayValidateParams validate_params(
- 0, true, new mojo::internal::ArrayValidateParams(0, false, nullptr));
+ mojo::internal::ContainerValidateParams validate_params(
+ 0, true, new mojo::internal::ContainerValidateParams(0, false, nullptr));
mojo::internal::Serialize<Array<mojo::String>>(cloned_strs, &buf, &data,
&validate_params, &context);
@@ -115,8 +115,8 @@ TEST_F(WTFTypesTest, Serialization_WTFArrayToMojoArray) {
mojo::internal::FixedBufferForTesting buf(size);
mojo::internal::Array_Data<mojo::internal::String_Data*>* data;
- mojo::internal::ArrayValidateParams validate_params(
- 0, true, new mojo::internal::ArrayValidateParams(0, false, nullptr));
+ mojo::internal::ContainerValidateParams validate_params(
+ 0, true, new mojo::internal::ContainerValidateParams(0, false, nullptr));
mojo::internal::Serialize<Array<mojo::String>>(strs, &buf, &data,
&validate_params, &context);

Powered by Google App Engine
This is Rietveld 408576698