summaryrefslogtreecommitdiffstats
path: root/net/android/java/net_errors_java.template
Commit message (Collapse)AuthorAgeFilesLines
* build/java_cpp_template.gypi: new build rules.digit@chromium.org2012-12-101-10/+0
| | | | | | | | | | | | | | | | | | This patch adds a new .gypi file that allows one to generate Java source files by parsing template files with the host C pre-processor. The main use case is the ability to generate Java sources defining constants matching their C/C++ counterparts. This is actually a generalisation of the technique that was used in net/net.gyp to generate a NetError.java source mirroring the definitions found in net/base/net_error_list.h BUG=none Review URL: https://chromiumcodereview.appspot.com/11415152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172041 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream Android-specific net/ changes.newt@chromium.org2012-10-201-1/+0
| | | | | | | | | BUG=136750 Review URL: https://chromiumcodereview.appspot.com/11191047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163107 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 158067 - Remove native side of content_view_client"yusufo@chromium.org2012-09-221-1/+1
| | | | | | | | | | | | | | The previous CL broke the build, because the changes in net_errors_java.template didn't get the net_error_java target to be rebuilt. We needed a net.gyp change that makes sure NetError.java gets recreated after the changes. BUG=137967 TBR=jam@chromium.org, mkosiba@chromium.org, willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10963041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158146 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158067 - Remove native side of content_view_clientavi@chromium.org2012-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | This moves related callabcks from content_view_client to web_contents_observer_android and makes the client a Java only API. This broke the compile: http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Builder%20%28dbg%29&number=16035 ErrorCodeConversionHelper, new in this change, failed to build. BUG=137967 Review URL: https://chromiumcodereview.appspot.com/10952029 TBR=yusufo@chromium.org Review URL: https://codereview.chromium.org/10969045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158072 0039d316-1c4b-4281-b951-d872f2087c98
* Remove native side of content_view_clientyusufo@chromium.org2012-09-211-1/+1
| | | | | | | | | | | | This moves related callabcks from content_view_client to web_contents_observer_android and makes the client a Java only API. BUG=137967 Review URL: https://chromiumcodereview.appspot.com/10952029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158067 0039d316-1c4b-4281-b951-d872f2087c98
* Build NetError.java to use in java side tests by preprocessing net_errors.ccyusufo@chromium.org2012-09-101-0/+11
Java side tests will be using a map to convert these error codes to platform specific ones. This generates a java file which can be used to refer to the errorcode. The included test just does a trivial check whether the java file can be included and used. BUG=137967 Review URL: https://chromiumcodereview.appspot.com/10912136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155796 0039d316-1c4b-4281-b951-d872f2087c98