| OLD | NEW |
| 1 // Code generated by svcdec; DO NOT EDIT | 1 // Code generated by svcdec; DO NOT EDIT |
| 2 | 2 |
| 3 package milo | 3 package milo |
| 4 | 4 |
| 5 import ( | 5 import ( |
| 6 proto "github.com/golang/protobuf/proto" | 6 proto "github.com/golang/protobuf/proto" |
| 7 context "golang.org/x/net/context" | 7 context "golang.org/x/net/context" |
| 8 ) | 8 ) |
| 9 | 9 |
| 10 type DecoratedBuildbot struct { | 10 type DecoratedBuildbot struct { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 if err == nil { | 30 if err == nil { |
| 31 c = newCtx | 31 c = newCtx |
| 32 rsp, err = s.Service.GetCompressedMasterJSON(c, req) | 32 rsp, err = s.Service.GetCompressedMasterJSON(c, req) |
| 33 } | 33 } |
| 34 if s.Postlude != nil { | 34 if s.Postlude != nil { |
| 35 err = s.Postlude(c, "GetCompressedMasterJSON", rsp, err) | 35 err = s.Postlude(c, "GetCompressedMasterJSON", rsp, err) |
| 36 } | 36 } |
| 37 return | 37 return |
| 38 } | 38 } |
| 39 |
| 40 func (s *DecoratedBuildbot) GetBuildbotBuildJSON(c context.Context, req *Buildbo
tBuildRequest) (rsp *BuildbotBuildJSON, err error) { |
| 41 var newCtx context.Context |
| 42 if s.Prelude != nil { |
| 43 newCtx, err = s.Prelude(c, "GetBuildbotBuildJSON", req) |
| 44 } |
| 45 if err == nil { |
| 46 c = newCtx |
| 47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req) |
| 48 } |
| 49 if s.Postlude != nil { |
| 50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err) |
| 51 } |
| 52 return |
| 53 } |
| OLD | NEW |