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

Unified Diff: filter/count/rds.go

Issue 2302743002: Interface update, per-method Contexts. (Closed)
Patch Set: Lightning talk licenses. Created 4 years, 3 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 | « filter/count/mod.go ('k') | filter/count/tq.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/count/rds.go
diff --git a/filter/count/rds.go b/filter/count/rds.go
index 418878fdf3927eb2705f03d0ed34bd10ed66e2ce..4e44fde0b1df9ba73e10423521ea367ab9ca3cf4 100644
--- a/filter/count/rds.go
+++ b/filter/count/rds.go
@@ -64,8 +64,15 @@ func (r *dsCounter) PutMulti(keys []*ds.Key, vals []ds.PropertyMap, cb ds.NewKey
return r.c.PutMulti.upFilterStop(r.ds.PutMulti(keys, vals, cb))
}
-func (r *dsCounter) Testable() ds.Testable {
- return r.ds.Testable()
+func (r *dsCounter) CurrentTransaction() ds.Transaction {
+ return r.ds.CurrentTransaction()
+}
+func (r *dsCounter) WithoutTransaction() context.Context {
+ return r.ds.WithoutTransaction()
+}
+
+func (r *dsCounter) GetTestable() ds.Testable {
+ return r.ds.GetTestable()
}
// FilterRDS installs a counter datastore filter in the context.
« no previous file with comments | « filter/count/mod.go ('k') | filter/count/tq.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698