1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 from telemetry.page import page as page_module 5 from telemetry.page import page_set as page_set_module 6 7 8 class BlankPage(page_module.Page): 9 def __init__(self, url, page_set): 10 super(BlankPage, self).__init__(url, page_set=page_set) 11 12 13 class BlankPageSet(page_set_module.PageSet): 14 """A single blank page.""" 15 16 def __init__(self): 17 super(BlankPageSet, self).__init__() 18 self.AddPage(BlankPage('file://blank_page/blank_page.html', self)) 19