Update twisted version in webkitpy.thirdparty.autoinstalled module.
[WebKit.git] / Tools / Scripts / webkitpy / benchmark_runner / http_server_driver / http_server_driver.py
1 #!/usr/bin/env python
2
3 from abc import abstractmethod, ABCMeta
4
5
6 class HTTPServerDriver(object):
7     platforms = []
8
9     __metaclass__ = ABCMeta
10
11     @abstractmethod
12     def serve(self, webRoot):
13         pass
14
15     @abstractmethod
16     def fetch_result(self):
17         pass
18
19     @abstractmethod
20     def kill_server(self):
21         pass
22
23     @abstractmethod
24     def get_return_code(self):
25         pass
26
27     @abstractmethod
28     def set_device_id(self, device_id):
29         pass