Index: impl/prod/context.go |
diff --git a/impl/prod/context.go b/impl/prod/context.go |
index fe060335b4921a0899ec9aa36cbd10edc3378ac5..7605887e2a99b518f79428e3c508dd9b4c6918a1 100644 |
--- a/impl/prod/context.go |
+++ b/impl/prod/context.go |
@@ -19,25 +19,28 @@ import ( |
// - github.com/luci/gae/service/taskqueue |
// - github.com/luci/gae/service/memcache |
// - github.com/luci/gae/service/info |
+// - github.com/luci/gae/service/urlfetch |
// |
// These can be retrieved with the <service>.Get functions. |
// |
// The implementations are all backed by the real appengine SDK functionality, |
func Use(c context.Context) context.Context { |
- return useRDS(useMC(useTQ(useGI(c)))) |
+ return useURLFetch(useRDS(useMC(useTQ(useGI(c))))) |
} |
-// Use adds production implementations for all the gae services to the context. |
+// UseRequest adds production implementations for all the gae services |
+// to the context. |
// |
// The services added are: |
// - github.com/luci/gae/service/datastore |
// - github.com/luci/gae/service/taskqueue |
// - github.com/luci/gae/service/memcache |
// - github.com/luci/gae/service/info |
+// - github.com/luci/gae/service/urlfetch |
// |
// These can be retrieved with the <service>.Get functions. |
// |
// The implementations are all backed by the real appengine SDK functionality, |
func UseRequest(r *http.Request) context.Context { |
- return useRDS(useMC(useTQ(useGI(appengine.NewContext(r))))) |
+ return useURLFetch(useRDS(useMC(useTQ(useGI(appengine.NewContext(r)))))) |
} |