{"action":"created","comment":{"url":"https://api.github.com/repos/grpc/grpc/pulls/comments/61300089","id":61300089,"diff_hunk":"@@ -0,0 +1,72 @@\n+/*\n+ *\n+ * Copyright 2016, Google Inc.\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are\n+ * met:\n+ *\n+ *     * Redistributions of source code must retain the above copyright\n+ * notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above\n+ * copyright notice, this list of conditions and the following disclaimer\n+ * in the documentation and/or other materials provided with the\n+ * distribution.\n+ *     * Neither the name of Google Inc. nor the names of its\n+ * contributors may be used to endorse or promote products derived from\n+ * this software without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+ * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ *\n+ */\n+\n+#include <grpc/impl/codegen/port_platform.h>\n+#include <stdio.h>\n+#include <string.h>\n+\n+#include <grpc/support/alloc.h>\n+#include <grpc/support/log.h>\n+\n+#include \"src/core/lib/surface/channel.h\"\n+#include \"src/core/lib/transport/transport_impl.h\"\n+\n+#ifdef COMPILE_WITH_CRONET\n+// Cronet transport object\n+struct grpc_cronet_transport {\n+  grpc_transport base; /* must be first element in this structure */\n+  void *engine;\n+  char *host;\n+};\n+\n+typedef struct grpc_cronet_transport grpc_cronet_transport;","path":"src/core/ext/transport/cronet/client/secure/cronet_channel_create.c","position":52,"original_position":52,"commit_id":"fc80e3d8ac7ad80a47fe7fae5620725fd8b64c21","original_commit_id":"efced46585b5d12c24586e6dbaa8fd4a2e55325f","user":{"login":"makdharma","id":17325098,"avatar_url":"https://avatars.githubusercontent.com/u/17325098?v=3","gravatar_id":"","url":"https://api.github.com/users/makdharma","html_url":"https://github.com/makdharma","followers_url":"https://api.github.com/users/makdharma/followers","following_url":"https://api.github.com/users/makdharma/following{/other_user}","gists_url":"https://api.github.com/users/makdharma/gists{/gist_id}","starred_url":"https://api.github.com/users/makdharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makdharma/subscriptions","organizations_url":"https://api.github.com/users/makdharma/orgs","repos_url":"https://api.github.com/users/makdharma/repos","events_url":"https://api.github.com/users/makdharma/events{/privacy}","received_events_url":"https://api.github.com/users/makdharma/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-04-27T17:24:25Z","updated_at":"2016-04-27T17:24:25Z","html_url":"https://github.com/grpc/grpc/pull/6214#discussion_r61300089","pull_request_url":"https://api.github.com/repos/grpc/grpc/pulls/6214","_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc/pulls/comments/61300089"},"html":{"href":"https://github.com/grpc/grpc/pull/6214#discussion_r61300089"},"pull_request":{"href":"https://api.github.com/repos/grpc/grpc/pulls/6214"}}},"pull_request":{"url":"https://api.github.com/repos/grpc/grpc/pulls/6214","id":67059533,"html_url":"https://github.com/grpc/grpc/pull/6214","diff_url":"https://github.com/grpc/grpc/pull/6214.diff","patch_url":"https://github.com/grpc/grpc/pull/6214.patch","issue_url":"https://api.github.com/repos/grpc/grpc/issues/6214","number":6214,"state":"open","locked":false,"title":"cronet wrapper code","user":{"login":"makdharma","id":17325098,"avatar_url":"https://avatars.githubusercontent.com/u/17325098?v=3","gravatar_id":"","url":"https://api.github.com/users/makdharma","html_url":"https://github.com/makdharma","followers_url":"https://api.github.com/users/makdharma/followers","following_url":"https://api.github.com/users/makdharma/following{/other_user}","gists_url":"https://api.github.com/users/makdharma/gists{/gist_id}","starred_url":"https://api.github.com/users/makdharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makdharma/subscriptions","organizations_url":"https://api.github.com/users/makdharma/orgs","repos_url":"https://api.github.com/users/makdharma/repos","events_url":"https://api.github.com/users/makdharma/events{/privacy}","received_events_url":"https://api.github.com/users/makdharma/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-19T17:41:07Z","updated_at":"2016-04-27T17:24:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56b25a518b41533941f282953601b1fbc57a6294","assignee":{"login":"ctiller","id":10120821,"avatar_url":"https://avatars.githubusercontent.com/u/10120821?v=3","gravatar_id":"","url":"https://api.github.com/users/ctiller","html_url":"https://github.com/ctiller","followers_url":"https://api.github.com/users/ctiller/followers","following_url":"https://api.github.com/users/ctiller/following{/other_user}","gists_url":"https://api.github.com/users/ctiller/gists{/gist_id}","starred_url":"https://api.github.com/users/ctiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctiller/subscriptions","organizations_url":"https://api.github.com/users/ctiller/orgs","repos_url":"https://api.github.com/users/ctiller/repos","events_url":"https://api.github.com/users/ctiller/events{/privacy}","received_events_url":"https://api.github.com/users/ctiller/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc/pulls/6214/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc/pulls/6214/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/6214/comments","statuses_url":"https://api.github.com/repos/grpc/grpc/statuses/fc80e3d8ac7ad80a47fe7fae5620725fd8b64c21","head":{"label":"makdharma:master","ref":"master","sha":"fc80e3d8ac7ad80a47fe7fae5620725fd8b64c21","user":{"login":"makdharma","id":17325098,"avatar_url":"https://avatars.githubusercontent.com/u/17325098?v=3","gravatar_id":"","url":"https://api.github.com/users/makdharma","html_url":"https://github.com/makdharma","followers_url":"https://api.github.com/users/makdharma/followers","following_url":"https://api.github.com/users/makdharma/following{/other_user}","gists_url":"https://api.github.com/users/makdharma/gists{/gist_id}","starred_url":"https://api.github.com/users/makdharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makdharma/subscriptions","organizations_url":"https://api.github.com/users/makdharma/orgs","repos_url":"https://api.github.com/users/makdharma/repos","events_url":"https://api.github.com/users/makdharma/events{/privacy}","received_events_url":"https://api.github.com/users/makdharma/received_events","type":"User","site_admin":false},"repo":{"id":52044402,"name":"grpc","full_name":"makdharma/grpc","owner":{"login":"makdharma","id":17325098,"avatar_url":"https://avatars.githubusercontent.com/u/17325098?v=3","gravatar_id":"","url":"https://api.github.com/users/makdharma","html_url":"https://github.com/makdharma","followers_url":"https://api.github.com/users/makdharma/followers","following_url":"https://api.github.com/users/makdharma/following{/other_user}","gists_url":"https://api.github.com/users/makdharma/gists{/gist_id}","starred_url":"https://api.github.com/users/makdharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makdharma/subscriptions","organizations_url":"https://api.github.com/users/makdharma/orgs","repos_url":"https://api.github.com/users/makdharma/repos","events_url":"https://api.github.com/users/makdharma/events{/privacy}","received_events_url":"https://api.github.com/users/makdharma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makdharma/grpc","description":"The C based gRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)","fork":true,"url":"https://api.github.com/repos/makdharma/grpc","forks_url":"https://api.github.com/repos/makdharma/grpc/forks","keys_url":"https://api.github.com/repos/makdharma/grpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makdharma/grpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makdharma/grpc/teams","hooks_url":"https://api.github.com/repos/makdharma/grpc/hooks","issue_events_url":"https://api.github.com/repos/makdharma/grpc/issues/events{/number}","events_url":"https://api.github.com/repos/makdharma/grpc/events","assignees_url":"https://api.github.com/repos/makdharma/grpc/assignees{/user}","branches_url":"https://api.github.com/repos/makdharma/grpc/branches{/branch}","tags_url":"https://api.github.com/repos/makdharma/grpc/tags","blobs_url":"https://api.github.com/repos/makdharma/grpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makdharma/grpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makdharma/grpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/makdharma/grpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makdharma/grpc/statuses/{sha}","languages_url":"https://api.github.com/repos/makdharma/grpc/languages","stargazers_url":"https://api.github.com/repos/makdharma/grpc/stargazers","contributors_url":"https://api.github.com/repos/makdharma/grpc/contributors","subscribers_url":"https://api.github.com/repos/makdharma/grpc/subscribers","subscription_url":"https://api.github.com/repos/makdharma/grpc/subscription","commits_url":"https://api.github.com/repos/makdharma/grpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/makdharma/grpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/makdharma/grpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/makdharma/grpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/makdharma/grpc/contents/{+path}","compare_url":"https://api.github.com/repos/makdharma/grpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makdharma/grpc/merges","archive_url":"https://api.github.com/repos/makdharma/grpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makdharma/grpc/downloads","issues_url":"https://api.github.com/repos/makdharma/grpc/issues{/number}","pulls_url":"https://api.github.com/repos/makdharma/grpc/pulls{/number}","milestones_url":"https://api.github.com/repos/makdharma/grpc/milestones{/number}","notifications_url":"https://api.github.com/repos/makdharma/grpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makdharma/grpc/labels{/name}","releases_url":"https://api.github.com/repos/makdharma/grpc/releases{/id}","deployments_url":"https://api.github.com/repos/makdharma/grpc/deployments","created_at":"2016-02-18T22:44:46Z","updated_at":"2016-02-18T22:44:54Z","pushed_at":"2016-04-25T22:03:20Z","git_url":"git://github.com/makdharma/grpc.git","ssh_url":"git@github.com:makdharma/grpc.git","clone_url":"https://github.com/makdharma/grpc.git","svn_url":"https://github.com/makdharma/grpc","homepage":"","size":69386,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grpc:master","ref":"master","sha":"f4154296382f41c86ef16809bdd9b91967120117","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729880,"name":"grpc","full_name":"grpc/grpc","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc","description":"The C based gRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)","fork":false,"url":"https://api.github.com/repos/grpc/grpc","forks_url":"https://api.github.com/repos/grpc/grpc/forks","keys_url":"https://api.github.com/repos/grpc/grpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc/teams","hooks_url":"https://api.github.com/repos/grpc/grpc/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc/events","assignees_url":"https://api.github.com/repos/grpc/grpc/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc/tags","blobs_url":"https://api.github.com/repos/grpc/grpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc/subscription","commits_url":"https://api.github.com/repos/grpc/grpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc/merges","archive_url":"https://api.github.com/repos/grpc/grpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc/downloads","issues_url":"https://api.github.com/repos/grpc/grpc/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc/releases{/id}","deployments_url":"https://api.github.com/repos/grpc/grpc/deployments","created_at":"2014-12-08T18:58:53Z","updated_at":"2016-04-27T16:34:43Z","pushed_at":"2016-04-27T17:17:01Z","git_url":"git://github.com/grpc/grpc.git","ssh_url":"git@github.com:grpc/grpc.git","clone_url":"https://github.com/grpc/grpc.git","svn_url":"https://github.com/grpc/grpc","homepage":"","size":184497,"stargazers_count":4818,"watchers_count":4818,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":863,"mirror_url":null,"open_issues_count":698,"forks":863,"open_issues":698,"watchers":4818,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc/pulls/6214"},"html":{"href":"https://github.com/grpc/grpc/pull/6214"},"issue":{"href":"https://api.github.com/repos/grpc/grpc/issues/6214"},"comments":{"href":"https://api.github.com/repos/grpc/grpc/issues/6214/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc/pulls/6214/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc/pulls/6214/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc/statuses/fc80e3d8ac7ad80a47fe7fae5620725fd8b64c21"}}}}