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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/crash_service.py

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make fix_docstrings match function stricter and fix style/main.py. Created 4 years, 3 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
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 18 matching lines...) Expand all
29 """Start and stop the crash service as it is used by the layout tests.""" 29 """Start and stop the crash service as it is used by the layout tests."""
30 30
31 from webkitpy.layout_tests.servers import server_base 31 from webkitpy.layout_tests.servers import server_base
32 32
33 33
34 class CrashService(server_base.ServerBase): 34 class CrashService(server_base.ServerBase):
35 35
36 def __init__(self, port_obj, crash_dumps_dir): 36 def __init__(self, port_obj, crash_dumps_dir):
37 """Args: 37 """Args:
38 crash_dumps_dir: the absolute path to the directory where to store cra sh dumps 38 crash_dumps_dir: the absolute path to the directory where to store cra sh dumps
39 """ 39 """
40 # Webkit tests 40 # Webkit tests
41 super(CrashService, self).__init__(port_obj, port_obj.default_results_di rectory()) 41 super(CrashService, self).__init__(port_obj, port_obj.default_results_di rectory())
42 self._name = 'CrashService' 42 self._name = 'CrashService'
43 self._crash_dumps_dir = crash_dumps_dir 43 self._crash_dumps_dir = crash_dumps_dir
44 self._env = None 44 self._env = None
45 45
46 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % se lf._name) 46 self._pid_file = self._filesystem.join(self._runtime_path, '%s.pid' % se lf._name)
47 self._start_cmd = [self._port_obj._path_to_crash_service(), 47 self._start_cmd = [self._port_obj._path_to_crash_service(),
48 '--dumps-dir=%s' % self._crash_dumps_dir, 48 '--dumps-dir=%s' % self._crash_dumps_dir,
49 '--no-window'] 49 '--no-window']
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698