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

Unified Diff: mojo/public/cpp/bindings/lib/validation_errors.cc

Issue 1486573003: Mojo C++ bindings: associated interface pointers/requests validation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/lib/validation_errors.h ('k') | mojo/public/cpp/bindings/lib/validation_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/validation_errors.cc
diff --git a/mojo/public/cpp/bindings/lib/validation_errors.cc b/mojo/public/cpp/bindings/lib/validation_errors.cc
index ee58ed9a4721b5a4ac163849610350b74100b317..79f93eb31d8a2dfce23b215c2bbeab572469a583 100644
--- a/mojo/public/cpp/bindings/lib/validation_errors.cc
+++ b/mojo/public/cpp/bindings/lib/validation_errors.cc
@@ -36,6 +36,10 @@ const char* ValidationErrorToString(ValidationError error) {
return "VALIDATION_ERROR_ILLEGAL_POINTER";
case VALIDATION_ERROR_UNEXPECTED_NULL_POINTER:
return "VALIDATION_ERROR_UNEXPECTED_NULL_POINTER";
+ case VALIDATION_ERROR_ILLEGAL_INTERFACE_ID:
+ return "VALIDATION_ERROR_ILLEGAL_INTERFACE_ID";
+ case VALIDATION_ERROR_UNEXPECTED_INVALID_INTERFACE_ID:
+ return "VALIDATION_ERROR_UNEXPECTED_INVALID_INTERFACE_ID";
case VALIDATION_ERROR_MESSAGE_HEADER_INVALID_FLAGS:
return "VALIDATION_ERROR_MESSAGE_HEADER_INVALID_FLAGS";
case VALIDATION_ERROR_MESSAGE_HEADER_MISSING_REQUEST_ID:
« no previous file with comments | « mojo/public/cpp/bindings/lib/validation_errors.h ('k') | mojo/public/cpp/bindings/lib/validation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698