Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Issue 556453003: [Telemetry] Move page logic into page/__init__.py. (Closed)

Created:
6 years, 3 months ago by eakuefner
Modified:
6 years, 2 months ago
Reviewers:
nednguyen, dtu, chrishenry, nduca
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Move page logic into page/__init__.py. The Page class was being declared in page/page.py which was creating problems for several module-level functions handling pages which were being declared (CL to follow). This CL kills page.py and moves the associated logic into page/__init__.py, in line with e.g. value/. R=dtu,nednguyen,chrishenry Committed: https://crrev.com/5643db88e9327ae23c36e2acde1778cc171dbeb2 Cr-Commit-Position: refs/heads/master@{#296899}

Patch Set 1 #

Patch Set 2 : Remove page FromDict (for future CL) #

Total comments: 1

Patch Set 3 : Address Ned's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -188 lines) Patch
M tools/telemetry/telemetry/page/__init__.py View 1 1 chunk +188 lines, -0 lines 0 comments Download
D tools/telemetry/telemetry/page/page.py View 1 2 1 chunk +3 lines, -187 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_unittest.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (4 generated)
eakuefner
Simple refactoring change that blocks some changes I have in the pipe. Note that two ...
6 years, 3 months ago (2014-09-08 16:39:57 UTC) #1
nduca
this makes sense, lgtm
6 years, 3 months ago (2014-09-08 18:39:33 UTC) #3
nednguyen
lgtm
6 years, 3 months ago (2014-09-08 18:45:52 UTC) #5
nednguyen
Actually, you will need to modify all the page module references in perf/page_sets/ and other ...
6 years, 3 months ago (2014-09-08 18:49:13 UTC) #7
dtu
On 2014/09/08 18:49:13, nednguyen wrote: > Actually, you will need to modify all the page ...
6 years, 3 months ago (2014-09-08 20:28:18 UTC) #8
chrishenry
lgtm, but please address Ned's comment. https://codereview.chromium.org/556453003/diff/20001/tools/telemetry/telemetry/page/__init__.py File tools/telemetry/telemetry/page/__init__.py (right): https://codereview.chromium.org/556453003/diff/20001/tools/telemetry/telemetry/page/__init__.py#newcode4 tools/telemetry/telemetry/page/__init__.py:4: import inspect (Is ...
6 years, 3 months ago (2014-09-10 00:44:34 UTC) #9
eakuefner
On 2014/09/10 at 00:44:34, chrishenry wrote: > lgtm, but please address Ned's comment. > > ...
6 years, 2 months ago (2014-09-25 22:36:28 UTC) #10
nednguyen
On 2014/09/25 22:36:28, eakuefner wrote: > On 2014/09/10 at 00:44:34, chrishenry wrote: > > lgtm, ...
6 years, 2 months ago (2014-09-25 23:20:56 UTC) #11
eakuefner
On 2014/09/25 at 23:20:56, nednguyen wrote: > On 2014/09/25 22:36:28, eakuefner wrote: > > On ...
6 years, 2 months ago (2014-09-26 05:29:14 UTC) #12
chrishenry
lgtm Yah, because it's not a copy. __init__.py already exists (kind of obvious in retrospect ...
6 years, 2 months ago (2014-09-26 05:35:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/556453003/40001
6 years, 2 months ago (2014-09-26 05:45:17 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 1c6573a9222bb1a64d63ab6c540f7a79412d35be
6 years, 2 months ago (2014-09-26 06:51:23 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 06:52:22 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5643db88e9327ae23c36e2acde1778cc171dbeb2
Cr-Commit-Position: refs/heads/master@{#296899}

Powered by Google App Engine
This is Rietveld 408576698