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

Issue 2166503003: Fix bluetooth adapter access in SystemTrayDelegateChromeOS. (Closed)

Created:
4 years, 5 months ago by msw
Modified:
4 years, 5 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank, James Su, davemoore+watch_chromium.org, James Cook
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bluetooth adapter access in SystemTrayDelegateChromeOS. Check for null adapter in SystemTrayDelegateChromeOS. Add a SystemTrayDelegateChromeOS unit test. (the test fails without the new null checks) Add BrowserProcessPlatformPart::DestroySystemClock. (needed to destroy CrosSettings::ObserverSubscription) BUG=626995 TEST=New unit test; fewer crashes; no behavior changes. R=sky@chromium.org Committed: https://crrev.com/90f0ec2148047357ea4f846d2bdb4496accaa61d Cr-Commit-Position: refs/heads/master@{#406490}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : Do not check on InputMethodManager::Get. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -17 lines) Patch
M chrome/browser/browser_process_platform_part_chromeos.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser_process_platform_part_chromeos.cc View 1 3 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 chunk +8 lines, -0 lines 2 comments Download
A chrome/browser/ui/ash/system_tray_delegate_chromeos_unittest.cc View 1 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
msw
Hey Scott, please take a look; thanks!
4 years, 5 months ago (2016-07-20 01:23:05 UTC) #5
sky
LGTM
4 years, 5 months ago (2016-07-20 04:11:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2166503003/60001
4 years, 5 months ago (2016-07-20 04:28:18 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-20 04:34:24 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 04:34:36 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/90f0ec2148047357ea4f846d2bdb4496accaa61d Cr-Commit-Position: refs/heads/master@{#406490}
4 years, 5 months ago (2016-07-20 04:37:33 UTC) #23
James Cook
https://codereview.chromium.org/2166503003/diff/60001/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc File chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc (right): https://codereview.chromium.org/2166503003/diff/60001/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc#newcode129 chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc:129: IN_PROC_BROWSER_TEST_F(SystemTrayDelegateChromeOSTest, BluetoothStatus) { drive-by question: Any particular reason you ...
4 years, 5 months ago (2016-07-20 15:23:15 UTC) #25
msw
4 years, 5 months ago (2016-07-20 16:43:19 UTC) #26
Message was sent while issue was closed.
https://codereview.chromium.org/2166503003/diff/60001/chrome/browser/ui/ash/s...
File chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
(right):

https://codereview.chromium.org/2166503003/diff/60001/chrome/browser/ui/ash/s...
chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc:129:
IN_PROC_BROWSER_TEST_F(SystemTrayDelegateChromeOSTest, BluetoothStatus) {
On 2016/07/20 15:23:14, James Cook wrote:
> drive-by question: Any particular reason you added the same test as both a
> browser test and unit test?

Woops, I meant to delete this; thanks for catching that!

Powered by Google App Engine
This is Rietveld 408576698