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: impl/memory/context.go

Issue 1525923002: Implement Mail service. (Closed) Base URL: https://github.com/luci/gae.git@filter_user
Patch Set: tests and words Created 5 years 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 | « impl/dummy/dummy_test.go ('k') | impl/memory/mail.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/context.go
diff --git a/impl/memory/context.go b/impl/memory/context.go
index baa9c24666938b16e845922afa47119e2fb69341..ff5b8357bd675e80c916339a72d15ecf8c4cdd23 100644
--- a/impl/memory/context.go
+++ b/impl/memory/context.go
@@ -97,9 +97,10 @@ func Use(c context.Context) context.Context {
// UseWithAppID adds implementations for the following gae services to the
// context:
// * 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/mail
+// * github.com/luci/gae/service/memcache
+// * github.com/luci/gae/service/taskqueue
// * github.com/luci/gae/service/user
// * github.com/luci/luci-go/common/logger (using memlogger)
//
@@ -122,7 +123,7 @@ func UseWithAppID(c context.Context, aid string) context.Context {
c = context.WithValue(c, memContextKey, memctx)
c = context.WithValue(c, memContextNoTxnKey, memctx)
c = context.WithValue(c, giContextKey, &globalInfoData{appid: aid})
- return useUser(useTQ(useRDS(useMC(useGI(c, aid)))))
+ return useMail(useUser(useTQ(useRDS(useMC(useGI(c, aid))))))
}
func cur(c context.Context) (p *memContext) {
« no previous file with comments | « impl/dummy/dummy_test.go ('k') | impl/memory/mail.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698