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

Unified Diff: go/src/infra/gae/libs/wrapper/gae/taskqueue.go

Issue 1143053004: Simplify memory package interface. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: switch to blasters Created 5 years, 7 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
« no previous file with comments | « go/src/infra/gae/libs/wrapper/gae/memcache.go ('k') | go/src/infra/gae/libs/wrapper/memory/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/wrapper/gae/taskqueue.go
diff --git a/go/src/infra/gae/libs/wrapper/gae/taskqueue.go b/go/src/infra/gae/libs/wrapper/gae/taskqueue.go
index a448a51c6c5ef81729482949abfb61fcd9509529..41ebc8b910a6801d835087a94ba3a705f0f758de 100644
--- a/go/src/infra/gae/libs/wrapper/gae/taskqueue.go
+++ b/go/src/infra/gae/libs/wrapper/gae/taskqueue.go
@@ -13,9 +13,9 @@ import (
"infra/gae/libs/wrapper"
)
-// UseTQ adds a wrapper.TaskQueue implementation to context, accessible
+// useTQ adds a wrapper.TaskQueue implementation to context, accessible
// by wrapper.GetTQ(c)
-func UseTQ(c context.Context) context.Context {
+func useTQ(c context.Context) context.Context {
return wrapper.SetTQFactory(c, func(ci context.Context) wrapper.TaskQueue {
return tqImpl{ctx(ci).Context}
})
« no previous file with comments | « go/src/infra/gae/libs/wrapper/gae/memcache.go ('k') | go/src/infra/gae/libs/wrapper/memory/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698