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

Issue 12211139: Phase out BrowserList::empty() and BrowserList::size(). (Closed)

Created:
7 years, 10 months ago by gab
Modified:
7 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, sail+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Phase out BrowserList::empty() and BrowserList::size(). Replace last couple of instances by chrome::GetTotalBrowserCount() as in https://codereview.chromium.org/12212120/. oom_priority_manager.cc is ChromeOS only and thus only needs to care about the ash browser list. BUG=129187 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182378

Patch Set 1 : #

Patch Set 2 : merge up to r182211 #

Patch Set 3 : fix chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -29 lines) Patch
M chrome/browser/chromeos/memory/oom_priority_manager.cc View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app_browsertest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_list.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_list.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/one_click_signin_dialog_controller_browsertest.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
gab
Scott, please take a look. Thanks! Gab
7 years, 10 months ago (2013-02-12 22:08:46 UTC) #1
sky
LGTM
7 years, 10 months ago (2013-02-13 00:00:03 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12211139/12003
7 years, 10 months ago (2013-02-13 14:05:47 UTC) #3
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-13 14:41:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12211139/21002
7 years, 10 months ago (2013-02-13 15:13:33 UTC) #5
commit-bot: I haz the power
Failed to trigger a try job on linux_chromeos HTTP Error 400: Bad Request
7 years, 10 months ago (2013-02-13 15:31:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/12211139/21004
7 years, 10 months ago (2013-02-13 15:31:25 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/12211139/21004
7 years, 10 months ago (2013-02-13 19:34:18 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 03:38:41 UTC) #9
Message was sent while issue was closed.
Change committed as 182378

Powered by Google App Engine
This is Rietveld 408576698