Chromium Code Reviews| Index: tools/perf/measurements/session_restore_with_url.py |
| diff --git a/tools/perf/measurements/session_restore_with_url.py b/tools/perf/measurements/session_restore_with_url.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..be228f3a21786ad8a75d42ecd10252543a0a55be |
| --- /dev/null |
| +++ b/tools/perf/measurements/session_restore_with_url.py |
| @@ -0,0 +1,15 @@ |
| +# Copyright 2013 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +from measurements import session_restore |
| + |
| + |
| +class SessionRestoreWithUrl(session_restore.SessionRestore): |
| + |
| + def __init__(self): |
| + super(SessionRestoreWithUrl, self).__init__() |
| + |
| + def CanRunForPage(self, page): |
| + # Unlike the session restore tests, these can run with any page set |
|
jeremy
2013/12/15 13:03:36
nit:"set."
Can you explain why in the comment?
aberent
2013/12/16 17:07:43
Done.
|
| + return True |