DescriptionGet 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 #Messages
Total messages: 9 (0 generated)
|