Merge branch 'main' into avm99963-monorail

Merged commit cd4b3b336f1f14afa02990fdc2eec5d9467a827e

GitOrigin-RevId: e67bbf185d5538e1472bb42e0abb2a141f88bac1
diff --git a/tracker/issuedetailezt.py b/tracker/issuedetailezt.py
index 9460669..3a10443 100644
--- a/tracker/issuedetailezt.py
+++ b/tracker/issuedetailezt.py
@@ -14,7 +14,6 @@
 from __future__ import division
 from __future__ import absolute_import
 
-import httplib
 import json
 import logging
 import time
@@ -28,6 +27,7 @@
 from features import hotlist_helpers
 from features import hotlist_views
 from framework import exceptions
+from framework import flaskservlet
 from framework import framework_bizobj
 from framework import framework_constants
 from framework import framework_helpers
@@ -159,14 +159,23 @@
 class FlipperNext(FlipperRedirectBase):
   next_handler = True
 
+  # def GetFlipperNextRedirectPage(self, **kwargs):
+  #   self.next_handler = True
+  #   return self.handler(**kwargs)
+
 
 class FlipperPrev(FlipperRedirectBase):
   next_handler = False
 
+  # def GetFlipperPrevRedirectPage(self, **kwargs):
+  #   self.next_handler = False
+  #   return self.handler(**kwargs)
+
 
 class FlipperList(servlet.Servlet):
   # pylint: disable=arguments-differ
   # pylint: disable=unused-argument
+  # TODO: (monorail:6511)change to get(self) when convert to flask
   def get(self, project_name=None, viewed_username=None, hotlist_id=None):
     with work_env.WorkEnv(self.mr, self.services) as we:
       hotlist_id = self.mr.GetIntParam('hotlist_id')
@@ -190,7 +199,11 @@
                                                hotlist, self.services)
     self.redirect(url)
 
+  # def GetFlipperList(self, **kwargs):
+  #   return self.handler(**kwargs)
 
+
+# TODO: (monorail:6511) change to flaskJsonFeed when convert to flask
 class FlipperIndex(jsonfeed.JsonFeed):
   """Return a JSON object of an issue's index in search.
 
@@ -261,6 +274,12 @@
       'total_count': total_count,
     }
 
+  # def GetFlipperIndex(self, **kwargs):
+  #   return self.handler(**kwargs)
+
+  # def PostFlipperIndex(self, **kwargs):
+  #   return self.handler(**kwargs)
+
 
 def _ShouldShowFlipper(mr, services):
   """Return True if we should show the flipper."""