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

Issue 12210067: Get rid of native-desktop-only BrowserList:: iterator methods in tests. (Closed)

Created:
7 years, 10 months ago by gab
Modified:
7 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, Aaron Boodman, marja+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Get rid of native-desktop-only BrowserList:: iterator methods in tests. This is the last CL to get rid of BrowserList::const_iterator, BrowserList::begin(), and BrowserList::end() entirely (hopefully -- i.e., I can now build chrome, browser_tests, and unit_tests without these 3 methods -- there are 3 other CLs in the pipeline in parallel, I will land a CL to remove those methods for good once ToT no longer requires them)! Various browser tests were already making explicit assumptions about native-desktop, hardcoding that some more in some places. Otherwise just replacing all the iterators by BrowserIterator (which in theory is multi-desktop, but in browser tests only the native desktop's list will have browsers for now). Further changes can be made independently later if multi-desktop browser tests are desired. BUG=129187 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181878

Patch Set 1 : #

Patch Set 2 : merge up to r181832 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -114 lines) Patch
M chrome/browser/extensions/api/management/management_apitest.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/extensions/window_open_apitest.cc View 1 5 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/fast_shutdown_browsertest.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/sessions/better_session_restore_browsertest.cc View 1 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 1 17 chunks +27 lines, -18 lines 0 comments Download
M chrome/browser/sessions/tab_restore_browsertest.cc View 1 15 chunks +24 lines, -18 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 5 chunks +13 lines, -16 lines 0 comments Download
M chrome/browser/ui/browser_close_browsertest.cc View 1 3 chunks +14 lines, -15 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 1 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 4 chunks +8 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
gab
Scott, please take a look. Thanks! Gab
7 years, 10 months ago (2013-02-07 20:20:55 UTC) #1
gab
@sky: ping Thanks, Gab
7 years, 10 months ago (2013-02-11 15:39:18 UTC) #2
sky
LGTM
7 years, 10 months ago (2013-02-11 21:15:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12210067/1001
7 years, 10 months ago (2013-02-11 21:19:28 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=83228
7 years, 10 months ago (2013-02-12 01:28:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12210067/13003
7 years, 10 months ago (2013-02-12 03:27:58 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98483
7 years, 10 months ago (2013-02-12 04:34:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12210067/13003
7 years, 10 months ago (2013-02-12 04:42:19 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 06:15:57 UTC) #9
Message was sent while issue was closed.
Change committed as 181878

Powered by Google App Engine
This is Rietveld 408576698