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

Unified Diff: services/files/c/lib/util.cc

Issue 1130873002: Enable //services/files/c:apptests on Android now that we have the C++11 library. (Closed) Base URL: https://github.com/domokit/mojo.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
« no previous file with comments | « services/files/c/BUILD.gn ('k') | services/files/c/mojio_sys_stat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/c/lib/util.cc
diff --git a/services/files/c/lib/util.cc b/services/files/c/lib/util.cc
index e798e73b8769d37c7a1c187c7e077f4abd2a8226..e5cbb0c04b71709b6f26733c7dd4c762f4839ba1 100644
--- a/services/files/c/lib/util.cc
+++ b/services/files/c/lib/util.cc
@@ -4,6 +4,7 @@
#include "services/files/c/lib/util.h"
+#include <assert.h>
#include <errno.h>
namespace mojio {
@@ -36,6 +37,9 @@ int ErrorToErrno(mojo::files::Error error) {
// TODO(vtl): Something better?
return EIO;
}
+ assert(false);
+ // TODO(vtl): Something better?
+ return EIO;
}
} // namespace mojio
« no previous file with comments | « services/files/c/BUILD.gn ('k') | services/files/c/mojio_sys_stat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698