| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 if err == nil { | 45 if err == nil { |
| 46 c = newCtx | 46 c = newCtx |
| 47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req) | 47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req) |
| 48 } | 48 } |
| 49 if s.Postlude != nil { | 49 if s.Postlude != nil { |
| 50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err) | 50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err) |
| 51 } | 51 } |
| 52 return | 52 return |
| 53 } | 53 } |
| 54 |
| 55 func (s *DecoratedBuildbot) GetBuildbotBuildsJSON(c context.Context, req *Buildb
otBuildsRequest) (rsp *BuildbotBuildsJSON, err error) { |
| 56 var newCtx context.Context |
| 57 if s.Prelude != nil { |
| 58 newCtx, err = s.Prelude(c, "GetBuildbotBuildsJSON", req) |
| 59 } |
| 60 if err == nil { |
| 61 c = newCtx |
| 62 rsp, err = s.Service.GetBuildbotBuildsJSON(c, req) |
| 63 } |
| 64 if s.Postlude != nil { |
| 65 err = s.Postlude(c, "GetBuildbotBuildsJSON", rsp, err) |
| 66 } |
| 67 return |
| 68 } |
| OLD | NEW |