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

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

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 6 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: mojo/public/cpp/bindings/lib/array.cc
diff --git a/mojo/public/cpp/bindings/lib/array.cc b/mojo/public/cpp/bindings/lib/array.cc
index 6745adcdbd5c7fbc2dbc51706e67163f50bb7343..f79250cbf42c2175d09a325abdd12a67e36daf58 100644
--- a/mojo/public/cpp/bindings/lib/array.cc
+++ b/mojo/public/cpp/bindings/lib/array.cc
@@ -6,6 +6,7 @@
namespace mojo {
+#if 0
// static
String TypeConverter<String, std::string>::ConvertFrom(const std::string& input,
Buffer* buf) {
@@ -34,5 +35,6 @@ String TypeConverter<String, const char*>::ConvertFrom(const char* input,
memcpy(&result[0], input, size);
return result.Finish();
}
+#endif
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698