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

Issue 9667009: CommandLine Page Cycler (Closed)

Created:
8 years, 9 months ago by Devlin
Modified:
8 years, 6 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, clintstaley, Matt Tytel, eaugusti, chebert
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

CommandLine Page Cycler Usage: $ <chrome> --visit-urls=<url_txt_file> [--record-stats=<stats_txt_file>] --visit-urls-count=<repeat_count (int)> [--user-data-dir=<user_data_dir>] [--record-mode | --playback-mode] This will iterate through the list of URLs, gathering usage statistics. It is meant for use with the PageCycler RecordAPI and UI, as well as commandline use. TBR=aa@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140188

Patch Set 1 : PageCycler CommandLine #

Total comments: 6

Patch Set 2 : Addition of Browser and Unit Testing #

Patch Set 3 : Latest PC CL with MultiPlatform Support #

Patch Set 4 : Replaced now-private BrowserList::GetLastActive() #

Total comments: 19

Patch Set 5 : Removed potentially flaky recording test; fixed style #

Patch Set 6 : CommandLine PC Minus Test Data #

Patch Set 7 : Fixed unittest issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1175 lines, -7 lines) Patch
A chrome/browser/page_cycler/page_cycler.h View 1 2 3 4 5 6 1 chunk +155 lines, -0 lines 0 comments Download
A chrome/browser/page_cycler/page_cycler.cc View 1 2 3 1 chunk +263 lines, -0 lines 0 comments Download
A chrome/browser/page_cycler/page_cycler_browsertest.cc View 1 2 3 4 1 chunk +381 lines, -0 lines 0 comments Download
A chrome/browser/page_cycler/page_cycler_unittest.cc View 1 2 3 4 5 6 1 chunk +348 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Aaron Boodman
lgtm I did not do a full review because I've already looked at this. If ...
8 years, 9 months ago (2012-03-20 19:28:16 UTC) #1
chebert
https://chromiumcodereview.appspot.com/9667009/diff/7002/chrome/browser/page_cycler/page_cycler.h File chrome/browser/page_cycler/page_cycler.h (right): https://chromiumcodereview.appspot.com/9667009/diff/7002/chrome/browser/page_cycler/page_cycler.h#newcode55 chrome/browser/page_cycler/page_cycler.h:55: const std::vector<GURL>* urls() { return &urls_; } I've seen ...
8 years, 8 months ago (2012-04-09 23:52:01 UTC) #2
Devlin
Here's the latest of PageCycler. It should be passing all tests on all platforms (with ...
8 years, 7 months ago (2012-05-23 03:17:30 UTC) #3
Aaron Boodman
https://chromiumcodereview.appspot.com/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_browsertest.cc File chrome/browser/page_cycler/page_cycler_browsertest.cc (right): https://chromiumcodereview.appspot.com/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_browsertest.cc#newcode59 chrome/browser/page_cycler/page_cycler_browsertest.cc:59: void InitPageCycler(FilePath urls_file, Insert blank line here. https://chromiumcodereview.appspot.com/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_browsertest.cc#newcode132 chrome/browser/page_cycler/page_cycler_browsertest.cc:132: ...
8 years, 6 months ago (2012-05-29 21:39:08 UTC) #4
Aaron Boodman
LGTM ...
8 years, 6 months ago (2012-05-29 23:22:12 UTC) #5
Aaron Boodman
https://chromiumcodereview.appspot.com/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_unittest.cc File chrome/browser/page_cycler/page_cycler_unittest.cc (right): https://chromiumcodereview.appspot.com/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_unittest.cc#newcode40 chrome/browser/page_cycler/page_cycler_unittest.cc:40: if (file_a.size() != file_b.size()) On 2012/05/29 21:39:08, Aaron Boodman ...
8 years, 6 months ago (2012-05-30 01:08:42 UTC) #6
Aaron Boodman
8 years, 6 months ago (2012-05-30 01:41:01 UTC) #7
Devlin
Latest with all requested fixes. http://codereview.chromium.org/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_browsertest.cc File chrome/browser/page_cycler/page_cycler_browsertest.cc (right): http://codereview.chromium.org/9667009/diff/28003/chrome/browser/page_cycler/page_cycler_browsertest.cc#newcode59 chrome/browser/page_cycler/page_cycler_browsertest.cc:59: void InitPageCycler(FilePath urls_file, On ...
8 years, 6 months ago (2012-05-30 01:45:15 UTC) #8
Aaron Boodman
LG stands
8 years, 6 months ago (2012-05-30 01:50:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9667009/31003
8 years, 6 months ago (2012-05-30 02:25:43 UTC) #10
commit-bot: I haz the power
Can't process patch for file chrome/test/data/page_cycler/cached_data_dir/Default/Web Data-journal. Unexpected git diff output name Data-journal b/chrome/test/data/page_cycler/cached_data_dir/Default/Web Data-journal.
8 years, 6 months ago (2012-05-30 02:25:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9667009/37003
8 years, 6 months ago (2012-05-31 03:12:36 UTC) #12
commit-bot: I haz the power
Presubmit check for 9667009-37003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-05-31 03:12:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9667009/32004
8 years, 6 months ago (2012-05-31 05:16:33 UTC) #14
commit-bot: I haz the power
Try job failure for 9667009-32004 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 6 months ago (2012-05-31 06:06:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9667009/32004
8 years, 6 months ago (2012-05-31 18:35:26 UTC) #16
commit-bot: I haz the power
Try job failure for 9667009-32004 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 6 months ago (2012-05-31 19:26:23 UTC) #17
Devlin
Checked to make sure; this test is passing locally on Mac, both on debug and ...
8 years, 6 months ago (2012-06-02 00:44:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9667009/32004
8 years, 6 months ago (2012-06-02 00:45:12 UTC) #19
commit-bot: I haz the power
Try job failure for 9667009-32004 (retry) (retry) on mac_rel for step "unit_tests". It's a second ...
8 years, 6 months ago (2012-06-02 01:49:35 UTC) #20
Aaron Boodman
I tried landing this for you, but it failed in the same way on the ...
8 years, 6 months ago (2012-06-02 08:46:25 UTC) #21
Devlin
On 2012/06/02 08:46:25, Aaron Boodman wrote: > I tried landing this for you, but it ...
8 years, 6 months ago (2012-06-03 00:11:36 UTC) #22
Aaron Boodman
8 years, 6 months ago (2012-06-03 05:24:17 UTC) #23
Once a code review is closed, you need to create a new one to revisit it. You
can clear the review association from your git branch with `git cl issue 0`.

I've re-uploaded this to: https://chromiumcodereview.appspot.com/10491010 and
relanded it for you. Wish us luck!

Powered by Google App Engine
This is Rietveld 408576698