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

Unified Diff: appengine/findit_mock/gae_libs/handlers/base_handler.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. Created 4 years, 1 month 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: appengine/findit_mock/gae_libs/handlers/base_handler.py
diff --git a/appengine/findit_mock/gae_libs/handlers/base_handler.py b/appengine/findit_mock/gae_libs/handlers/base_handler.py
new file mode 100644
index 0000000000000000000000000000000000000000..a0cd32cc767f87fb5ca438df82a57330dffbe2d0
--- /dev/null
+++ b/appengine/findit_mock/gae_libs/handlers/base_handler.py
@@ -0,0 +1,18 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import webapp2
+
+class BaseHandler(webapp2.RequestHandler):
+ def HandleGet(self):
+ raise NotImplemented
+
+ def HandlePost(self):
+ raise NotImplemented
+
+ def get(self):
+ self.HandleGet()
+
+ def post(self):
+ self.HandlePost()

Powered by Google App Engine
This is Rietveld 408576698