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

Unified Diff: tools/cmd/cproto/testdata/twoFiles/2.pb.golden

Issue 1605363002: common/prpc, tools/cmd/cproto: prpc client (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: use text template for ast generation Created 4 years, 11 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: tools/cmd/cproto/testdata/twoFiles/2.pb.golden
diff --git a/tools/cmd/cproto/testdata/twoFiles/2.pb.golden b/tools/cmd/cproto/testdata/twoFiles/2.pb.golden
index ee3b89e2970ec4f85124edfa1d753779bafa16b6..7a93b09730bf581844e68971a168e6b5a5aa8bef 100644
--- a/tools/cmd/cproto/testdata/twoFiles/2.pb.golden
+++ b/tools/cmd/cproto/testdata/twoFiles/2.pb.golden
@@ -4,6 +4,7 @@
package test
+import prpccommon "github.com/luci/luci-go/common/prpc"
import prpc "github.com/luci/luci-go/server/prpc"
import proto "github.com/golang/protobuf/proto"
@@ -28,6 +29,13 @@ var _ grpc.ClientConn
type S2Client interface {
}
+type s2PRPCClient struct {
+ client *prpccommon.Client
+}
+
+func NewS2PRPCClient(client *prpccommon.Client) S2Client {
+ return &s2PRPCClient{client}
+}
type s2Client struct {
cc *grpc.ClientConn

Powered by Google App Engine
This is Rietveld 408576698