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

Side by Side Diff: appengine/chromium_cq_status/handlers/recent.py

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from google.appengine.api import users
6 import webapp2
7
8 from shared import utils
9
10
11 class Recent(webapp2.RequestHandler): # pragma: no cover
12 @utils.read_access
13 def get(self):
14 self.response.write(open('templates/recent.html').read() % {
15 'host': utils.get_friendly_hostname(),
16 })
OLDNEW
« no previous file with comments | « appengine/chromium_cq_status/handlers/query.py ('k') | appengine/chromium_cq_status/handlers/stats_data_points.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698