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

Unified Diff: mojo/devtools/common/devtoolslib/http_server.py

Issue 1268713005: Unify method name casing in devtools. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 | « mojo/devtools/common/devtoolslib/apptest_gtest.py ('k') | mojo/devtools/common/devtoolslib/linux_shell.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/devtoolslib/http_server.py
diff --git a/mojo/devtools/common/devtoolslib/http_server.py b/mojo/devtools/common/devtoolslib/http_server.py
index 386b3569ac20c37e036719e23fdfa5fdc7d17359..dc125c835ebd57e000c412ddb7db05c247c1a1c3 100644
--- a/mojo/devtools/common/devtoolslib/http_server.py
+++ b/mojo/devtools/common/devtoolslib/http_server.py
@@ -49,7 +49,7 @@ class _SilentTCPServer(SocketServer.TCPServer):
SocketServer.TCPServer.handle_error(self, request, client_address)
-def _GetHandlerClassForPath(mappings):
+def _get_handler_class_for_path(mappings):
"""Creates a handler override for SimpleHTTPServer.
Args:
@@ -188,7 +188,7 @@ def start_http_server(mappings, host_port=0):
Tuple of the server address and the port on which it runs.
"""
assert mappings
- handler_class = _GetHandlerClassForPath(mappings)
+ handler_class = _get_handler_class_for_path(mappings)
try:
httpd = _SilentTCPServer(('127.0.0.1', host_port), handler_class)
« no previous file with comments | « mojo/devtools/common/devtoolslib/apptest_gtest.py ('k') | mojo/devtools/common/devtoolslib/linux_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698