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

Unified Diff: milo/appengine/logdog/http.go

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix tests Created 3 years, 9 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
Index: milo/appengine/logdog/http.go
diff --git a/milo/appengine/logdog/http.go b/milo/appengine/logdog/http.go
index 906d39bed388ff42ad3c01542267bd478d08d3aa..55ddd6316bf5a5e020d454220a2dfcf2c28a76c6 100644
--- a/milo/appengine/logdog/http.go
+++ b/milo/appengine/logdog/http.go
@@ -14,7 +14,6 @@ import (
"github.com/luci/luci-go/logdog/client/coordinator"
"github.com/luci/luci-go/logdog/common/types"
"github.com/luci/luci-go/luci_config/common/cfgtypes"
- "github.com/luci/luci-go/milo/appengine/settings"
"github.com/luci/luci-go/milo/common/miloerror"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/templates"
@@ -30,9 +29,8 @@ import (
// temporarily (if incomplete) or indefinitely (if complete).
type AnnotationStreamHandler struct{}
-// GetTemplateName implements settings.ThemedHandler.
-func (s *AnnotationStreamHandler) GetTemplateName(t settings.Theme) string {
- return "build.html"
+func BuildHandler(c context.Context, req *http.Request, p httprouter.Params) (*templates.Args, error) {
+ return (&AnnotationStreamHandler{}).Render(c, req, p)
}
// Render implements settings.ThemedHandler.

Powered by Google App Engine
This is Rietveld 408576698