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

Unified Diff: filter/featureBreaker/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/featureBreaker/mod.go ('k') | filter/featureBreaker/tq.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/featureBreaker/rds.go
diff --git a/filter/featureBreaker/rds.go b/filter/featureBreaker/rds.go
index 4523fc297f0147108d2eff75b9fe3cb9426d3eed..59013b0c121ae83293c5727583833897f06ff4bd 100644
--- a/filter/featureBreaker/rds.go
+++ b/filter/featureBreaker/rds.go
@@ -73,8 +73,16 @@ func (r *dsState) PutMulti(keys []*ds.Key, vals []ds.PropertyMap, cb ds.NewKeyCB
})
}
-func (r *dsState) Testable() ds.Testable {
- return r.rds.Testable()
+func (r *dsState) WithoutTransaction() context.Context {
+ return r.rds.WithoutTransaction()
+}
+
+func (r *dsState) CurrentTransaction() ds.Transaction {
+ return r.rds.CurrentTransaction()
+}
+
+func (r *dsState) GetTestable() ds.Testable {
+ return r.rds.GetTestable()
}
// FilterRDS installs a featureBreaker datastore filter in the context.
« no previous file with comments | « filter/featureBreaker/mod.go ('k') | filter/featureBreaker/tq.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698