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

Unified Diff: service/taskqueue/taskqueue.go

Issue 1890983004: service/taskqueue: Add NewPOSTTask, remove NewTask (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Zero value. Created 4 years, 8 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 | « service/taskqueue/task.go ('k') | service/taskqueue/types.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/taskqueue/taskqueue.go
diff --git a/service/taskqueue/taskqueue.go b/service/taskqueue/taskqueue.go
index bf4323382ce8580837442e6fe6b1ccd42081a5d8..c4ec18a0a4421c6c9c9649bae95ef46a26bbf258 100644
--- a/service/taskqueue/taskqueue.go
+++ b/service/taskqueue/taskqueue.go
@@ -10,10 +10,6 @@ import (
type taskqueueImpl struct{ RawInterface }
-func (t *taskqueueImpl) NewTask(path string) *Task {
- return &Task{Path: path}
-}
-
func (t *taskqueueImpl) Add(task *Task, queueName string) error {
return errors.SingleError(t.AddMulti([]*Task{task}, queueName))
}
« no previous file with comments | « service/taskqueue/task.go ('k') | service/taskqueue/types.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698