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

Unified Diff: go/src/infra/gae/libs/gae/memory/globalinfo.go

Issue 1226063003: Move dummy service implementations into their own package. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@abstract
Patch Set: rebase Created 5 years, 5 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/gae/memory/context.go ('k') | go/src/infra/gae/libs/gae/memory/memcache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/gae/memory/globalinfo.go
diff --git a/go/src/infra/gae/libs/gae/memory/globalinfo.go b/go/src/infra/gae/libs/gae/memory/globalinfo.go
index 13199ff6ac22beb762f6e98c8f99a65c46bdde1a..75232d406b250d1a5c4fec97898abb3bb3c92d7b 100644
--- a/go/src/infra/gae/libs/gae/memory/globalinfo.go
+++ b/go/src/infra/gae/libs/gae/memory/globalinfo.go
@@ -8,6 +8,7 @@ import (
"golang.org/x/net/context"
"infra/gae/libs/gae"
+ "infra/gae/libs/gae/dummy"
)
type giContextKeyType int
@@ -22,7 +23,7 @@ func curGID(c context.Context) *globalInfoData {
// by gae.GetGI(c)
func useGI(c context.Context) context.Context {
return gae.SetGIFactory(c, func(ic context.Context) gae.GlobalInfo {
- return &giImpl{gae.DummyGI(), curGID(ic), ic}
+ return &giImpl{dummy.GI(), curGID(ic), ic}
})
}
« no previous file with comments | « go/src/infra/gae/libs/gae/memory/context.go ('k') | go/src/infra/gae/libs/gae/memory/memcache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698