| Index: tools/perf/measurements/session_restore.py
|
| diff --git a/tools/perf/measurements/session_restore.py b/tools/perf/measurements/session_restore.py
|
| index 67e72bf8c0ad6303aa10f72e0e5bfd0604deca00..26eef4da60f93f81a0f23c1b66698bf590792eb8 100644
|
| --- a/tools/perf/measurements/session_restore.py
|
| +++ b/tools/perf/measurements/session_restore.py
|
| @@ -15,12 +15,13 @@ class SessionRestore(startup.Startup):
|
| """Performs a measurement of Chromium's Session restore performance.
|
|
|
| This test is meant to be run against a generated profile.
|
| - This test inherits support for the --warm or --cold command line options -
|
| + This test inherits support for the 'cold' option -
|
| see startup.py for details.
|
| """
|
|
|
| - def __init__(self, action_name_to_run = ''):
|
| - super(SessionRestore, self).__init__(action_name_to_run=action_name_to_run)
|
| + def __init__(self, cold=False, action_name_to_run = ''):
|
| + super(SessionRestore, self).__init__(cold=cold,
|
| + action_name_to_run=action_name_to_run)
|
| self.close_tabs_before_run = False
|
| self._cpu_metric = None
|
|
|
|
|