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

Unified Diff: go/src/infra/gae/libs/gae/memory/taskqueue.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/raw_datstore.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/gae/libs/gae/memory/taskqueue.go
diff --git a/go/src/infra/gae/libs/gae/memory/taskqueue.go b/go/src/infra/gae/libs/gae/memory/taskqueue.go
index b0e04b201d5b73a179d3df15f8cdf7e7538ee835..98225ebea82f0f9b47430ebfe42eb266acbfdca6 100644
--- a/go/src/infra/gae/libs/gae/memory/taskqueue.go
+++ b/go/src/infra/gae/libs/gae/memory/taskqueue.go
@@ -13,6 +13,7 @@ import (
"golang.org/x/net/context"
"infra/gae/libs/gae"
+ "infra/gae/libs/gae/dummy"
)
/////////////////////////////// public functions ///////////////////////////////
@@ -27,7 +28,7 @@ func useTQ(c context.Context) context.Context {
switch x := tqd.(type) {
case *taskQueueData:
ret = &taskqueueImpl{
- gae.DummyTQ(),
+ dummy.TQ(),
x,
ic,
curGID(ic).namespace,
@@ -35,7 +36,7 @@ func useTQ(c context.Context) context.Context {
case *txnTaskQueueData:
ret = &taskqueueTxnImpl{
- gae.DummyTQ(),
+ dummy.TQ(),
x,
ic,
curGID(ic).namespace,
« no previous file with comments | « go/src/infra/gae/libs/gae/memory/raw_datstore.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698