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

Unified Diff: customhandlers.py

Issue 23469002: [webpagereplay] Add command exit. (Closed) Base URL: http://web-page-replay.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | « no previous file | servermanager.py » ('j') | servermanager.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: customhandlers.py
===================================================================
--- customhandlers.py (revision 519)
+++ customhandlers.py (working copy)
@@ -191,4 +191,7 @@
if archive_stats:
status['archive_stats'] = json.loads(archive_stats)
return JsonResponse(status)
+ elif command == 'exit':
+ self.server_manager.should_exit = True
+ return SimpleResponse(200)
return None
« no previous file with comments | « no previous file | servermanager.py » ('j') | servermanager.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698