2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.page.shared_page_state
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
9 <td valign=bottom
> <br>
10 <font color=
"#ffffff" face=
"helvetica, arial"> <br><big><big><strong><a href=
"telemetry.html"><font color=
"#ffffff">telemetry
</font></a>.
<a href=
"telemetry.page.html"><font color=
"#ffffff">page
</font></a>.shared_page_state
</strong></big></big></font></td
11 ><td align=right valign=bottom
12 ><font color=
"#ffffff" face=
"helvetica, arial"><a href=
".">index
</a><br><a href=
"../telemetry/page/shared_page_state.py">telemetry/page/shared_page_state.py
</a></font></td></tr></table>
13 <p><tt>#
Copyright
2014 The
Chromium
Authors.
All
rights
reserved.
<br>
14 #
Use
of
this
source
code
is
governed
by
a
BSD-style
license
that
can
be
<br>
15 #
found
in
the
LICENSE
file.
</tt></p>
17 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
18 <tr bgcolor=
"#aa55cc">
19 <td colspan=
3 valign=bottom
> <br>
20 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
22 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
23 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"telemetry.internal.browser.browser_finder.html">telemetry.internal.browser.browser_finder
</a><br>
24 <a href=
"telemetry.internal.browser.browser_finder_exceptions.html">telemetry.internal.browser.browser_finder_exceptions
</a><br>
25 <a href=
"telemetry.internal.browser.browser_info.html">telemetry.internal.browser.browser_info
</a><br>
26 <a href=
"catapult_base.cloud_storage.html">catapult_base.cloud_storage
</a><br>
27 <a href=
"telemetry.decorators.html">telemetry.decorators
</a><br>
28 <a href=
"telemetry.internal.util.exception_formatter.html">telemetry.internal.util.exception_formatter
</a><br>
29 </td><td width=
"25%" valign=top
><a href=
"telemetry.core.exceptions.html">telemetry.core.exceptions
</a><br>
30 <a href=
"telemetry.internal.util.file_handle.html">telemetry.internal.util.file_handle
</a><br>
31 <a href=
"telemetry.util.image_util.html">telemetry.util.image_util
</a><br>
32 <a href=
"logging.html">logging
</a><br>
33 <a href=
"os.html">os
</a><br>
34 <a href=
"telemetry.page.page_test.html">telemetry.page.page_test
</a><br>
35 </td><td width=
"25%" valign=top
><a href=
"telemetry.internal.platform.profiler.profiler_finder.html">telemetry.internal.platform.profiler.profiler_finder
</a><br>
36 <a href=
"shutil.html">shutil
</a><br>
37 <a href=
"telemetry.story.html">telemetry.story
</a><br>
38 <a href=
"sys.html">sys
</a><br>
39 <a href=
"tempfile.html">tempfile
</a><br>
40 <a href=
"telemetry.web_perf.timeline_based_measurement.html">telemetry.web_perf.timeline_based_measurement
</a><br>
41 </td><td width=
"25%" valign=top
><a href=
"telemetry.core.util.html">telemetry.core.util
</a><br>
42 <a href=
"telemetry.util.wpr_modes.html">telemetry.util.wpr_modes
</a><br>
43 <a href=
"zipfile.html">zipfile
</a><br>
44 </td></tr></table></td></tr></table><p>
45 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
46 <tr bgcolor=
"#ee77aa">
47 <td colspan=
3 valign=bottom
> <br>
48 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
50 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
52 <dt><font face=
"helvetica, arial"><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
55 <dt><font face=
"helvetica, arial"><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>
58 <dt><font face=
"helvetica, arial"><a href=
"telemetry.page.shared_page_state.html#Shared10InchTabletPageState">Shared10InchTabletPageState
</a>
59 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.page.shared_page_state.html#SharedDesktopPageState">SharedDesktopPageState
</a>
60 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.page.shared_page_state.html#SharedMobilePageState">SharedMobilePageState
</a>
61 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.page.shared_page_state.html#SharedTabletPageState">SharedTabletPageState
</a>
68 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
69 <tr bgcolor=
"#ffc8d8">
70 <td colspan=
3 valign=bottom
> <br>
71 <font color=
"#000000" face=
"helvetica, arial"><a name=
"Shared10InchTabletPageState">class
<strong>Shared10InchTabletPageState
</strong></a>(
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>)
</font></td></tr>
73 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
74 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
75 <dd><a href=
"telemetry.page.shared_page_state.html#Shared10InchTabletPageState">Shared10InchTabletPageState
</a></dd>
76 <dd><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a></dd>
77 <dd><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a></dd>
78 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
81 Methods inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
82 <dl><dt><a name=
"Shared10InchTabletPageState-CanRunOnBrowser"><strong>CanRunOnBrowser
</strong></a>(self, browser_info, page)
</dt><dd><tt>Override
this
to
return
whether
the
browser
brought
up
by
this
state
<br>
83 instance
is
suitable
for
running
the
given
page.
<br>
86 browser_info:
an
instance
of
telemetry.core.browser_info.BrowserInfo
<br>
87 page:
an
instance
of
telemetry.page.Page
</tt></dd></dl>
89 <dl><dt><a name=
"Shared10InchTabletPageState-CanRunStory"><strong>CanRunStory
</strong></a>(self, page)
</dt></dl>
91 <dl><dt><a name=
"Shared10InchTabletPageState-DidRunStory"><strong>DidRunStory
</strong></a>(self, results)
</dt></dl>
93 <dl><dt><a name=
"Shared10InchTabletPageState-GetPregeneratedProfileArchiveDir"><strong>GetPregeneratedProfileArchiveDir
</strong></a>(self)
</dt></dl>
95 <dl><dt><a name=
"Shared10InchTabletPageState-RunStory"><strong>RunStory
</strong></a>(self, results)
</dt></dl>
97 <dl><dt><a name=
"Shared10InchTabletPageState-SetPregeneratedProfileArchiveDir"><strong>SetPregeneratedProfileArchiveDir
</strong></a>(self, archive_path)
</dt><dd><tt>Benchmarks
can
set
a
pre-generated
profile
archive
to
indicate
that
when
<br>
98 Chrome
is
launched,
it
should
have
a
--user-data-dir
set
to
the
<br>
99 pregenerated
profile,
rather
than
to
an
empty
profile.
<br>
101 If
the
benchmark
is
invoked
with
the
option
--profile-dir=
<dir
>,
that
<br>
102 option
overrides
this
value.
</tt></dd></dl>
104 <dl><dt><a name=
"Shared10InchTabletPageState-TearDownState"><strong>TearDownState
</strong></a>(self)
</dt></dl>
106 <dl><dt><a name=
"Shared10InchTabletPageState-WillRunStory"><strong>WillRunStory
</strong></a>(self, page)
</dt></dl>
108 <dl><dt><a name=
"Shared10InchTabletPageState-__init__"><strong>__init__
</strong></a>(self, test, finder_options, story_set)
</dt></dl>
111 Data descriptors inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
112 <dl><dt><strong>browser
</strong></dt>
114 <dl><dt><strong>current_page
</strong></dt>
116 <dl><dt><strong>current_tab
</strong></dt>
118 <dl><dt><strong>page_test
</strong></dt>
120 <dl><dt><strong>platform
</strong></dt>
123 Data descriptors inherited from
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>:
<br>
124 <dl><dt><strong>__dict__
</strong></dt>
125 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
127 <dl><dt><strong>__weakref__
</strong></dt>
128 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
130 </td></tr></table> <p>
131 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
132 <tr bgcolor=
"#ffc8d8">
133 <td colspan=
3 valign=bottom
> <br>
134 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SharedDesktopPageState">class
<strong>SharedDesktopPageState
</strong></a>(
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>)
</font></td></tr>
136 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
137 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
138 <dd><a href=
"telemetry.page.shared_page_state.html#SharedDesktopPageState">SharedDesktopPageState
</a></dd>
139 <dd><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a></dd>
140 <dd><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a></dd>
141 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
144 Methods inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
145 <dl><dt><a name=
"SharedDesktopPageState-CanRunOnBrowser"><strong>CanRunOnBrowser
</strong></a>(self, browser_info, page)
</dt><dd><tt>Override
this
to
return
whether
the
browser
brought
up
by
this
state
<br>
146 instance
is
suitable
for
running
the
given
page.
<br>
149 browser_info:
an
instance
of
telemetry.core.browser_info.BrowserInfo
<br>
150 page:
an
instance
of
telemetry.page.Page
</tt></dd></dl>
152 <dl><dt><a name=
"SharedDesktopPageState-CanRunStory"><strong>CanRunStory
</strong></a>(self, page)
</dt></dl>
154 <dl><dt><a name=
"SharedDesktopPageState-DidRunStory"><strong>DidRunStory
</strong></a>(self, results)
</dt></dl>
156 <dl><dt><a name=
"SharedDesktopPageState-GetPregeneratedProfileArchiveDir"><strong>GetPregeneratedProfileArchiveDir
</strong></a>(self)
</dt></dl>
158 <dl><dt><a name=
"SharedDesktopPageState-RunStory"><strong>RunStory
</strong></a>(self, results)
</dt></dl>
160 <dl><dt><a name=
"SharedDesktopPageState-SetPregeneratedProfileArchiveDir"><strong>SetPregeneratedProfileArchiveDir
</strong></a>(self, archive_path)
</dt><dd><tt>Benchmarks
can
set
a
pre-generated
profile
archive
to
indicate
that
when
<br>
161 Chrome
is
launched,
it
should
have
a
--user-data-dir
set
to
the
<br>
162 pregenerated
profile,
rather
than
to
an
empty
profile.
<br>
164 If
the
benchmark
is
invoked
with
the
option
--profile-dir=
<dir
>,
that
<br>
165 option
overrides
this
value.
</tt></dd></dl>
167 <dl><dt><a name=
"SharedDesktopPageState-TearDownState"><strong>TearDownState
</strong></a>(self)
</dt></dl>
169 <dl><dt><a name=
"SharedDesktopPageState-WillRunStory"><strong>WillRunStory
</strong></a>(self, page)
</dt></dl>
171 <dl><dt><a name=
"SharedDesktopPageState-__init__"><strong>__init__
</strong></a>(self, test, finder_options, story_set)
</dt></dl>
174 Data descriptors inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
175 <dl><dt><strong>browser
</strong></dt>
177 <dl><dt><strong>current_page
</strong></dt>
179 <dl><dt><strong>current_tab
</strong></dt>
181 <dl><dt><strong>page_test
</strong></dt>
183 <dl><dt><strong>platform
</strong></dt>
186 Data descriptors inherited from
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>:
<br>
187 <dl><dt><strong>__dict__
</strong></dt>
188 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
190 <dl><dt><strong>__weakref__
</strong></dt>
191 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
193 </td></tr></table> <p>
194 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
195 <tr bgcolor=
"#ffc8d8">
196 <td colspan=
3 valign=bottom
> <br>
197 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SharedMobilePageState">class
<strong>SharedMobilePageState
</strong></a>(
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>)
</font></td></tr>
199 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
200 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
201 <dd><a href=
"telemetry.page.shared_page_state.html#SharedMobilePageState">SharedMobilePageState
</a></dd>
202 <dd><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a></dd>
203 <dd><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a></dd>
204 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
207 Methods inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
208 <dl><dt><a name=
"SharedMobilePageState-CanRunOnBrowser"><strong>CanRunOnBrowser
</strong></a>(self, browser_info, page)
</dt><dd><tt>Override
this
to
return
whether
the
browser
brought
up
by
this
state
<br>
209 instance
is
suitable
for
running
the
given
page.
<br>
212 browser_info:
an
instance
of
telemetry.core.browser_info.BrowserInfo
<br>
213 page:
an
instance
of
telemetry.page.Page
</tt></dd></dl>
215 <dl><dt><a name=
"SharedMobilePageState-CanRunStory"><strong>CanRunStory
</strong></a>(self, page)
</dt></dl>
217 <dl><dt><a name=
"SharedMobilePageState-DidRunStory"><strong>DidRunStory
</strong></a>(self, results)
</dt></dl>
219 <dl><dt><a name=
"SharedMobilePageState-GetPregeneratedProfileArchiveDir"><strong>GetPregeneratedProfileArchiveDir
</strong></a>(self)
</dt></dl>
221 <dl><dt><a name=
"SharedMobilePageState-RunStory"><strong>RunStory
</strong></a>(self, results)
</dt></dl>
223 <dl><dt><a name=
"SharedMobilePageState-SetPregeneratedProfileArchiveDir"><strong>SetPregeneratedProfileArchiveDir
</strong></a>(self, archive_path)
</dt><dd><tt>Benchmarks
can
set
a
pre-generated
profile
archive
to
indicate
that
when
<br>
224 Chrome
is
launched,
it
should
have
a
--user-data-dir
set
to
the
<br>
225 pregenerated
profile,
rather
than
to
an
empty
profile.
<br>
227 If
the
benchmark
is
invoked
with
the
option
--profile-dir=
<dir
>,
that
<br>
228 option
overrides
this
value.
</tt></dd></dl>
230 <dl><dt><a name=
"SharedMobilePageState-TearDownState"><strong>TearDownState
</strong></a>(self)
</dt></dl>
232 <dl><dt><a name=
"SharedMobilePageState-WillRunStory"><strong>WillRunStory
</strong></a>(self, page)
</dt></dl>
234 <dl><dt><a name=
"SharedMobilePageState-__init__"><strong>__init__
</strong></a>(self, test, finder_options, story_set)
</dt></dl>
237 Data descriptors inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
238 <dl><dt><strong>browser
</strong></dt>
240 <dl><dt><strong>current_page
</strong></dt>
242 <dl><dt><strong>current_tab
</strong></dt>
244 <dl><dt><strong>page_test
</strong></dt>
246 <dl><dt><strong>platform
</strong></dt>
249 Data descriptors inherited from
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>:
<br>
250 <dl><dt><strong>__dict__
</strong></dt>
251 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
253 <dl><dt><strong>__weakref__
</strong></dt>
254 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
256 </td></tr></table> <p>
257 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
258 <tr bgcolor=
"#ffc8d8">
259 <td colspan=
3 valign=bottom
> <br>
260 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SharedPageState">class
<strong>SharedPageState
</strong></a>(
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>)
</font></td></tr>
262 <tr bgcolor=
"#ffc8d8"><td rowspan=
2><tt> </tt></td>
263 <td colspan=
2><tt>This
class
contains
all
specific
logic
necessary
to
run
a
Chrome
browser
<br>
264 benchmark.
<br> </tt></td></tr>
266 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
267 <dd><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a></dd>
268 <dd><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a></dd>
269 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
272 Methods defined here:
<br>
273 <dl><dt><a name=
"SharedPageState-CanRunOnBrowser"><strong>CanRunOnBrowser
</strong></a>(self, browser_info, page)
</dt><dd><tt>Override
this
to
return
whether
the
browser
brought
up
by
this
state
<br>
274 instance
is
suitable
for
running
the
given
page.
<br>
277 browser_info:
an
instance
of
telemetry.core.browser_info.BrowserInfo
<br>
278 page:
an
instance
of
telemetry.page.Page
</tt></dd></dl>
280 <dl><dt><a name=
"SharedPageState-CanRunStory"><strong>CanRunStory
</strong></a>(self, page)
</dt></dl>
282 <dl><dt><a name=
"SharedPageState-DidRunStory"><strong>DidRunStory
</strong></a>(self, results)
</dt></dl>
284 <dl><dt><a name=
"SharedPageState-GetPregeneratedProfileArchiveDir"><strong>GetPregeneratedProfileArchiveDir
</strong></a>(self)
</dt></dl>
286 <dl><dt><a name=
"SharedPageState-RunStory"><strong>RunStory
</strong></a>(self, results)
</dt></dl>
288 <dl><dt><a name=
"SharedPageState-SetPregeneratedProfileArchiveDir"><strong>SetPregeneratedProfileArchiveDir
</strong></a>(self, archive_path)
</dt><dd><tt>Benchmarks
can
set
a
pre-generated
profile
archive
to
indicate
that
when
<br>
289 Chrome
is
launched,
it
should
have
a
--user-data-dir
set
to
the
<br>
290 pregenerated
profile,
rather
than
to
an
empty
profile.
<br>
292 If
the
benchmark
is
invoked
with
the
option
--profile-dir=
<dir
>,
that
<br>
293 option
overrides
this
value.
</tt></dd></dl>
295 <dl><dt><a name=
"SharedPageState-TearDownState"><strong>TearDownState
</strong></a>(self)
</dt></dl>
297 <dl><dt><a name=
"SharedPageState-WillRunStory"><strong>WillRunStory
</strong></a>(self, page)
</dt></dl>
299 <dl><dt><a name=
"SharedPageState-__init__"><strong>__init__
</strong></a>(self, test, finder_options, story_set)
</dt></dl>
302 Data descriptors defined here:
<br>
303 <dl><dt><strong>browser
</strong></dt>
305 <dl><dt><strong>current_page
</strong></dt>
307 <dl><dt><strong>current_tab
</strong></dt>
309 <dl><dt><strong>page_test
</strong></dt>
311 <dl><dt><strong>platform
</strong></dt>
314 Data descriptors inherited from
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>:
<br>
315 <dl><dt><strong>__dict__
</strong></dt>
316 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
318 <dl><dt><strong>__weakref__
</strong></dt>
319 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
321 </td></tr></table> <p>
322 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
323 <tr bgcolor=
"#ffc8d8">
324 <td colspan=
3 valign=bottom
> <br>
325 <font color=
"#000000" face=
"helvetica, arial"><a name=
"SharedTabletPageState">class
<strong>SharedTabletPageState
</strong></a>(
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>)
</font></td></tr>
327 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
328 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
329 <dd><a href=
"telemetry.page.shared_page_state.html#SharedTabletPageState">SharedTabletPageState
</a></dd>
330 <dd><a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a></dd>
331 <dd><a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a></dd>
332 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
335 Methods inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
336 <dl><dt><a name=
"SharedTabletPageState-CanRunOnBrowser"><strong>CanRunOnBrowser
</strong></a>(self, browser_info, page)
</dt><dd><tt>Override
this
to
return
whether
the
browser
brought
up
by
this
state
<br>
337 instance
is
suitable
for
running
the
given
page.
<br>
340 browser_info:
an
instance
of
telemetry.core.browser_info.BrowserInfo
<br>
341 page:
an
instance
of
telemetry.page.Page
</tt></dd></dl>
343 <dl><dt><a name=
"SharedTabletPageState-CanRunStory"><strong>CanRunStory
</strong></a>(self, page)
</dt></dl>
345 <dl><dt><a name=
"SharedTabletPageState-DidRunStory"><strong>DidRunStory
</strong></a>(self, results)
</dt></dl>
347 <dl><dt><a name=
"SharedTabletPageState-GetPregeneratedProfileArchiveDir"><strong>GetPregeneratedProfileArchiveDir
</strong></a>(self)
</dt></dl>
349 <dl><dt><a name=
"SharedTabletPageState-RunStory"><strong>RunStory
</strong></a>(self, results)
</dt></dl>
351 <dl><dt><a name=
"SharedTabletPageState-SetPregeneratedProfileArchiveDir"><strong>SetPregeneratedProfileArchiveDir
</strong></a>(self, archive_path)
</dt><dd><tt>Benchmarks
can
set
a
pre-generated
profile
archive
to
indicate
that
when
<br>
352 Chrome
is
launched,
it
should
have
a
--user-data-dir
set
to
the
<br>
353 pregenerated
profile,
rather
than
to
an
empty
profile.
<br>
355 If
the
benchmark
is
invoked
with
the
option
--profile-dir=
<dir
>,
that
<br>
356 option
overrides
this
value.
</tt></dd></dl>
358 <dl><dt><a name=
"SharedTabletPageState-TearDownState"><strong>TearDownState
</strong></a>(self)
</dt></dl>
360 <dl><dt><a name=
"SharedTabletPageState-WillRunStory"><strong>WillRunStory
</strong></a>(self, page)
</dt></dl>
362 <dl><dt><a name=
"SharedTabletPageState-__init__"><strong>__init__
</strong></a>(self, test, finder_options, story_set)
</dt></dl>
365 Data descriptors inherited from
<a href=
"telemetry.page.shared_page_state.html#SharedPageState">SharedPageState
</a>:
<br>
366 <dl><dt><strong>browser
</strong></dt>
368 <dl><dt><strong>current_page
</strong></dt>
370 <dl><dt><strong>current_tab
</strong></dt>
372 <dl><dt><strong>page_test
</strong></dt>
374 <dl><dt><strong>platform
</strong></dt>
377 Data descriptors inherited from
<a href=
"telemetry.story.shared_state.html#SharedState">telemetry.story.shared_state.SharedState
</a>:
<br>
378 <dl><dt><strong>__dict__
</strong></dt>
379 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
381 <dl><dt><strong>__weakref__
</strong></dt>
382 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
384 </td></tr></table></td></tr></table>