OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
5 from telemetry.page import shared_page_state | 5 from telemetry.page import shared_page_state |
6 from telemetry import story | 6 from telemetry import story |
7 | 7 |
8 | 8 |
9 class MobileMemoryPage(page_module.Page): | 9 class MobileMemoryPage(page_module.Page): |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 super(MobileMemoryPageSet, self).__init__( | 81 super(MobileMemoryPageSet, self).__init__( |
82 archive_data_file='data/mobile_memory.json', | 82 archive_data_file='data/mobile_memory.json', |
83 cloud_storage_bucket=story.PARTNER_BUCKET) | 83 cloud_storage_bucket=story.PARTNER_BUCKET) |
84 | 84 |
85 self.AddStory(GmailPage(self)) | 85 self.AddStory(GmailPage(self)) |
86 self.AddStory(GoogleSearchPage(self)) | 86 self.AddStory(GoogleSearchPage(self)) |
87 | 87 |
88 urls_list = [ | 88 urls_list = [ |
89 # Why: Renderer process memory bloat | 89 # Why: Renderer process memory bloat |
90 'http://techcrunch.com', | 90 'http://techcrunch.com', |
91 # pylint: disable=C0301 | 91 # pylint: disable=line-too-long |
92 'http://techcrunch.com/2014/02/17/pixel-brings-brings-old-school-video-gam
e-art-to-life-in-your-home/', | 92 'http://techcrunch.com/2014/02/17/pixel-brings-brings-old-school-video-gam
e-art-to-life-in-your-home/', |
93 'http://techcrunch.com/2014/02/15/kickstarter-coins-2/', | 93 'http://techcrunch.com/2014/02/15/kickstarter-coins-2/', |
94 'http://techcrunch.com/2014/02/15/was-y-combinator-worth-it/', | 94 'http://techcrunch.com/2014/02/15/was-y-combinator-worth-it/', |
95 ] | 95 ] |
96 | 96 |
97 for url in urls_list: | 97 for url in urls_list: |
98 self.AddStory(ScrollPage(url, self)) | 98 self.AddStory(ScrollPage(url, self)) |
OLD | NEW |