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

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

Issue 1660143006: Mojo C++ bindings: Move MakeProxy() -> InterfacePtr::Create(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix failed 'gn' Created 4 years, 10 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 | « mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc ('k') | mojo/ui/ganesh_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/validation_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/validation_unittest.cc b/mojo/public/cpp/bindings/tests/validation_unittest.cc
index 31f491e7e9238d3bfab3cf0c5ca2e5587ea3243c..9fac903bbcbf54017e18c277f6e96f79a2b7f1d4 100644
--- a/mojo/public/cpp/bindings/tests/validation_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/validation_unittest.cc
@@ -6,6 +6,7 @@
#include <algorithm>
#include <string>
+#include <utility>
viettrungluu 2016/02/05 17:45:45 Hmmm, I don't think you actually added anything th
#include <vector>
#include "mojo/public/c/system/macros.h"
@@ -434,8 +435,9 @@ TEST_F(ValidationTest, ResponseBoundsCheck) {
// - MessageHeaderValidator
// - X::ResponseValidator_
TEST_F(ValidationIntegrationTest, InterfacePtr) {
- IntegrationTestInterfacePtr interface_ptr = MakeProxy(
- InterfaceHandle<IntegrationTestInterface>(testee_endpoint().Pass(), 0u));
+ IntegrationTestInterfacePtr interface_ptr =
+ IntegrationTestInterfacePtr::Create(
+ InterfaceHandle<IntegrationTestInterface>(testee_endpoint(), 0u));
interface_ptr.internal_state()->router_for_testing()->EnableTestingMode();
mojo::internal::MessageValidatorList validators;
« no previous file with comments | « mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc ('k') | mojo/ui/ganesh_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698