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

Unified Diff: net/android/java/net_errors_java.template

Issue 10912136: Build NetError.java to use in java side tests by preprocessing net_errors.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed to net.gyp and fixed comments Created 8 years, 3 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: net/android/java/net_errors_java.template
diff --git a/net/android/java/net_errors_java.template b/net/android/java/net_errors_java.template
new file mode 100644
index 0000000000000000000000000000000000000000..f810387ab1a91db910ab827785e787ade16d03b4
--- /dev/null
+++ b/net/android/java/net_errors_java.template
@@ -0,0 +1,7 @@
+package org.chromium.net;
Yaron 2012/09/07 22:49:06 Add chromium copyright.
+
+public class NetError {
+#define NET_ERROR(name, value) public static int ERR_##name = value;
+#include "net/base/net_error_list.h"
+}
+

Powered by Google App Engine
This is Rietveld 408576698